Skip to content

Commit d85d491

Browse files
Merge pull request openshift#537 from tmshort/update-featute-gates-in-helm
NO-ISSUE: Update to new feature-gate options in helm
2 parents 6caf943 + 3caf02d commit d85d491

File tree

2 files changed

+20
-15
lines changed

2 files changed

+20
-15
lines changed

openshift/helm/experimental.yaml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,26 @@
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44

5+
options:
56
# List of enabled experimental features for operator-controller
6-
# Use with {{- if has "FeatureGate" .Value.operatorControllerFeatures }}
7+
# Use with {{- if has "FeatureGate" .Value.operatorController.features.enabled }}
78
# to pull in resources or additions
8-
operatorControllerFeatures:
9-
- WebhookProviderOpenshiftServiceCA
10-
- SingleOwnNamespaceInstallSupport
11-
- PreflightPermissions
12-
13-
# Not yet supported
14-
# - HelmChartSupport
15-
# - BoxcutterRuntime
16-
9+
operatorController:
10+
features:
11+
enabled:
12+
- WebhookProviderOpenshiftServiceCA
13+
- SingleOwnNamespaceInstallSupport
14+
- PreflightPermissions
15+
disabled:
16+
- WebhookProviderCertManager
17+
- HelmChartSupport
18+
- BoxcutterRuntime
1719
# List of enabled experimental features for catalogd
18-
# Use with {{- if has "FeatureGate" .Value.catalogdFeatures }}
20+
# Use with {{- if has "FeatureGate" .Value.catalogd.features.enabled }}
1921
# to pull in resources or additions
20-
catalogdFeatures:
21-
- APIV1MetasHandler
22-
22+
catalogd:
23+
features:
24+
enabled:
25+
- APIV1MetasHandler
2326
# This can be one of: standard or experimental
24-
options:
2527
featureSet: experimental

openshift/operator-controller/manifests-experimental.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,6 +1325,9 @@ spec:
13251325
- --feature-gates=WebhookProviderOpenshiftServiceCA=true
13261326
- --feature-gates=SingleOwnNamespaceInstallSupport=true
13271327
- --feature-gates=PreflightPermissions=true
1328+
- --feature-gates=WebhookProviderCertManager=false
1329+
- --feature-gates=HelmChartSupport=false
1330+
- --feature-gates=BoxcutterRuntime=false
13281331
- --tls-cert=/var/certs/tls.crt
13291332
- --tls-key=/var/certs/tls.key
13301333
- --catalogd-cas-dir=/var/ca-certs

0 commit comments

Comments
 (0)