Skip to content

Commit

Permalink
Enable all feature gates during development
Browse files Browse the repository at this point in the history
Issue: PGO-1046
  • Loading branch information
cbandy committed Dec 20, 2024
1 parent f7caa61 commit 7952ee1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ undeploy: ## Undeploy the PostgreSQL Operator

.PHONY: deploy-dev
deploy-dev: ## Deploy the PostgreSQL Operator locally
deploy-dev: PGO_FEATURE_GATES ?= "TablespaceVolumes=true,VolumeSnapshots=true"
deploy-dev: PGO_FEATURE_GATES ?= "AllAlpha=true"
deploy-dev: get-pgmonitor
deploy-dev: build-postgres-operator
deploy-dev: createnamespaces
Expand Down
3 changes: 2 additions & 1 deletion internal/feature/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const (
// Support automatically growing volumes
AutoGrowVolumes = "AutoGrowVolumes"

// Deprecated
BridgeIdentifiers = "BridgeIdentifiers"

// Support custom sidecars for PostgreSQL instance Pods
Expand All @@ -101,7 +102,7 @@ func NewGate() MutableGate {
AppendCustomQueries: {Default: false, PreRelease: featuregate.Alpha},
AutoCreateUserSchema: {Default: true, PreRelease: featuregate.Beta},
AutoGrowVolumes: {Default: false, PreRelease: featuregate.Alpha},
BridgeIdentifiers: {Default: false, PreRelease: featuregate.Alpha},
BridgeIdentifiers: {Default: false, PreRelease: featuregate.Deprecated},
InstanceSidecars: {Default: false, PreRelease: featuregate.Alpha},
PGBouncerSidecars: {Default: false, PreRelease: featuregate.Alpha},
PGUpgradeCPUConcurrency: {Default: false, PreRelease: featuregate.Alpha},
Expand Down

0 comments on commit 7952ee1

Please sign in to comment.