Skip to content

Commit 7807c56

Browse files
author
Per Goncalves da Silva
committed
Add featuregate
Signed-off-by: Per Goncalves da Silva <[email protected]>
1 parent e29f502 commit 7807c56

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Diff for: internal/operator-controller/features/features.go

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ const (
99
// Add new feature gates constants (strings)
1010
// Ex: SomeFeature featuregate.Feature = "SomeFeature"
1111
PreflightPermissions featuregate.Feature = "PreflightPermissions"
12+
13+
SyntheticPermissions featuregate.Feature = "SyntheticPermissions"
1214
)
1315

1416
var operatorControllerFeatureGates = map[featuregate.Feature]featuregate.FeatureSpec{
@@ -19,6 +21,12 @@ var operatorControllerFeatureGates = map[featuregate.Feature]featuregate.Feature
1921
PreRelease: featuregate.Alpha,
2022
LockToDefault: false,
2123
},
24+
25+
SyntheticPermissions: {
26+
Default: false,
27+
PreRelease: featuregate.Alpha,
28+
LockToDefault: false,
29+
},
2230
}
2331

2432
var OperatorControllerFeatureGate featuregate.MutableFeatureGate = featuregate.NewFeatureGate()

0 commit comments

Comments
 (0)