File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
config/components/features/boxcutter-runtime
internal/operator-controller/features Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ # DO NOT ADD A NAMESPACE HERE
2
+ ---
3
+ apiVersion : kustomize.config.k8s.io/v1alpha1
4
+ kind : Component
5
+ patches :
6
+ - target :
7
+ kind : Deployment
8
+ name : operator-controller-controller-manager
9
+ path : patches/enable-featuregate.yaml
Original file line number Diff line number Diff line change
1
+ # enable Boxcutter runtime feature gate
2
+ - op : add
3
+ path : /spec/template/spec/containers/0/args/-
4
+ value : " --feature-gates=BoxcutterRuntime=true"
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ const (
17
17
WebhookProviderCertManager featuregate.Feature = "WebhookProviderCertManager"
18
18
WebhookProviderOpenshiftServiceCA featuregate.Feature = "WebhookProviderOpenshiftServiceCA"
19
19
HelmChartSupport featuregate.Feature = "HelmChartSupport"
20
+ BoxcutterRuntime featuregate.Feature = "BoxcutterRuntime"
20
21
)
21
22
22
23
var operatorControllerFeatureGates = map [featuregate.Feature ]featuregate.FeatureSpec {
@@ -72,6 +73,13 @@ var operatorControllerFeatureGates = map[featuregate.Feature]featuregate.Feature
72
73
PreRelease : featuregate .Alpha ,
73
74
LockToDefault : false ,
74
75
},
76
+
77
+ // BoxcutterRuntime configures OLM to use the Boxcutter runtime for extension lifecycling
78
+ BoxcutterRuntime : {
79
+ Default : false ,
80
+ PreRelease : featuregate .Alpha ,
81
+ LockToDefault : false ,
82
+ },
75
83
}
76
84
77
85
var OperatorControllerFeatureGate featuregate.MutableFeatureGate = featuregate .NewFeatureGate ()
You can’t perform that action at this time.
0 commit comments