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 (
1717 WebhookProviderCertManager featuregate.Feature = "WebhookProviderCertManager"
1818 WebhookProviderOpenshiftServiceCA featuregate.Feature = "WebhookProviderOpenshiftServiceCA"
1919 HelmChartSupport featuregate.Feature = "HelmChartSupport"
20+ BoxcutterRuntime featuregate.Feature = "BoxcutterRuntime"
2021)
2122
2223var operatorControllerFeatureGates = map [featuregate.Feature ]featuregate.FeatureSpec {
@@ -72,6 +73,13 @@ var operatorControllerFeatureGates = map[featuregate.Feature]featuregate.Feature
7273 PreRelease : featuregate .Alpha ,
7374 LockToDefault : false ,
7475 },
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+ },
7583}
7684
7785var OperatorControllerFeatureGate featuregate.MutableFeatureGate = featuregate .NewFeatureGate ()
You can’t perform that action at this time.
0 commit comments