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
132132
133133.PHONY : deploy-dev
134134deploy-dev : # # Deploy the PostgreSQL Operator locally
135+ deploy-dev : PGO_FEATURE_GATES ?= "TablespaceVolumes=true"
135136deploy-dev : build-postgres-operator
136137deploy-dev : createnamespaces
137138kubectl apply --server-side -k ./config/dev
138139hack/create-kubeconfig.sh postgres-operator pgo
139140env \
140141CRUNCHY_DEBUG=true \
141- PGO_FEATURE_GATES=" TablespaceVolumes=true " \
142+ PGO_FEATURE_GATES=" ${PGO_FEATURE_GATES} " \
142143CHECK_FOR_UPGRADES=' $(if $(CHECK_FOR_UPGRADES),$(CHECK_FOR_UPGRADES),false)' \
143144KUBECONFIG=hack/.kube/postgres-operator/pgo \
144145PGO_NAMESPACE=' postgres-operator' \
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ func main() {
7070log := logging .FromContext (ctx )
7171log .V (1 ).Info ("debug flag set to true" )
7272
73+ log .Info ("feature gates enabled" ,
74+ "PGO_FEATURE_GATES" , os .Getenv ("PGO_FEATURE_GATES" ))
75+
7376cruntime .SetLogger (log )
7477
7578cfg , err := runtime .GetConfig ()
You can’t perform that action at this time.
0 commit comments