File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -132,13 +132,14 @@ undeploy: ## Undeploy the PostgreSQL Operator
132
132
133
133
.PHONY : deploy-dev
134
134
deploy-dev : # # Deploy the PostgreSQL Operator locally
135
+ deploy-dev : PGO_FEATURE_GATES ?= "TablespaceVolumes=true"
135
136
deploy-dev : build-postgres-operator
136
137
deploy-dev : createnamespaces
137
138
kubectl apply --server-side -k ./config/dev
138
139
hack/create-kubeconfig.sh postgres-operator pgo
139
140
env \
140
141
CRUNCHY_DEBUG=true \
141
- PGO_FEATURE_GATES=" TablespaceVolumes=true " \
142
+ PGO_FEATURE_GATES=" ${PGO_FEATURE_GATES} " \
142
143
CHECK_FOR_UPGRADES=' $(if $(CHECK_FOR_UPGRADES),$(CHECK_FOR_UPGRADES),false)' \
143
144
KUBECONFIG=hack/.kube/postgres-operator/pgo \
144
145
PGO_NAMESPACE=' postgres-operator' \
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ func main() {
70
70
log := logging .FromContext (ctx )
71
71
log .V (1 ).Info ("debug flag set to true" )
72
72
73
+ log .Info ("feature gates enabled" ,
74
+ "PGO_FEATURE_GATES" , os .Getenv ("PGO_FEATURE_GATES" ))
75
+
73
76
cruntime .SetLogger (log )
74
77
75
78
cfg , err := runtime .GetConfig ()
You can’t perform that action at this time.
0 commit comments