Skip to content

Commit 7952ee1

Browse files
committed
Enable all feature gates during development
Issue: PGO-1046
1 parent f7caa61 commit 7952ee1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ undeploy: ## Undeploy the PostgreSQL Operator
119119

120120
.PHONY: deploy-dev
121121
deploy-dev: ## Deploy the PostgreSQL Operator locally
122-
deploy-dev: PGO_FEATURE_GATES ?= "TablespaceVolumes=true,VolumeSnapshots=true"
122+
deploy-dev: PGO_FEATURE_GATES ?= "AllAlpha=true"
123123
deploy-dev: get-pgmonitor
124124
deploy-dev: build-postgres-operator
125125
deploy-dev: createnamespaces

internal/feature/features.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ const (
7575
// Support automatically growing volumes
7676
AutoGrowVolumes = "AutoGrowVolumes"
7777

78+
// Deprecated
7879
BridgeIdentifiers = "BridgeIdentifiers"
7980

8081
// Support custom sidecars for PostgreSQL instance Pods
@@ -101,7 +102,7 @@ func NewGate() MutableGate {
101102
AppendCustomQueries: {Default: false, PreRelease: featuregate.Alpha},
102103
AutoCreateUserSchema: {Default: true, PreRelease: featuregate.Beta},
103104
AutoGrowVolumes: {Default: false, PreRelease: featuregate.Alpha},
104-
BridgeIdentifiers: {Default: false, PreRelease: featuregate.Alpha},
105+
BridgeIdentifiers: {Default: false, PreRelease: featuregate.Deprecated},
105106
InstanceSidecars: {Default: false, PreRelease: featuregate.Alpha},
106107
PGBouncerSidecars: {Default: false, PreRelease: featuregate.Alpha},
107108
PGUpgradeCPUConcurrency: {Default: false, PreRelease: featuregate.Alpha},

0 commit comments

Comments
 (0)