File tree Expand file tree Collapse file tree 5 files changed +41
-56
lines changed
Expand file tree Collapse file tree 5 files changed +41
-56
lines changed Original file line number Diff line number Diff line change 22# This is a YAML-formatted file.
33# Declare variables to be passed into your templates.
44
5- features :
6- apiV1MetasHandler :
7- enabled : true
8- webhookProviderCertManager :
9- enabled : true
10- singleOwnNamespaceInstallSupport :
11- enabled : true
12- preflightPermissions :
13- enabled : true
14- helmChartSupport :
15- enabled : true
5+ # List of enabled experimental features for operator-controller
6+ # Use with {{- if has "FeatureGate" .Value.operatorControllerFeatures }}
7+ # to pull in resources or additions
8+ operatorControllerFeatures :
9+ - WebhookProviderCertManager
10+ - SingleOwnNamespaceInstallSupport
11+ - PreflightPermissions
12+ - HelmChartSupport
13+
14+ # List of enabled experimental features for catalogd
15+ # Use with {{- if has "FeatureGate" .Value.catalogdFeatures }}
16+ # to pull in resources or additions
17+ catalogdFeatures :
18+ - APIV1MetasHandler
1619
1720# This can be one of: standard or experimental
1821featureSet : experimental
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ spec:
3535 spec :
3636 containers :
3737 - args :
38- {{- if not .Values.features. tilt.enabled }}
38+ {{- if not .Values.tilt.enabled }}
3939 - --leader-elect
4040 {{- end }}
4141 - --metrics-bind-address=:7443
4242 - --external-address=catalogd-service.{{ .Values.namespaces.olmv1.name }}.svc
43- {{- if .Values.features.apiV1MetasHandler.enabled }}
44- - --feature-gates=APIV1MetasHandler =true
43+ {{- range .Values.catalogdFeatures }}
44+ - --feature-gates={{- . -}} =true
4545 {{- end }}
4646 {{- if .Values.components.certManager.enabled }}
4747 - --tls-cert=/var/certs/tls.crt
6464 {{- toYamlPretty . | nindent 12 }}
6565 {{- end }}
6666 image : " {{ .Values.components.catalogd.deployment.image }}"
67- {{- if not .Values.features. tilt.enabled }}
67+ {{- if not .Values.tilt.enabled }}
6868 livenessProbe :
6969 httpGet :
7070 path : /healthz
7373 periodSeconds : 20
7474 {{- end }}
7575 name : manager
76- {{- if not .Values.features. tilt.enabled }}
76+ {{- if not .Values.tilt.enabled }}
7777 readinessProbe :
7878 httpGet :
7979 path : /readyz
Original file line number Diff line number Diff line change @@ -36,20 +36,11 @@ spec:
3636 - args :
3737 - --health-probe-bind-address=:8081
3838 - --metrics-bind-address=:8443
39- {{- if not .Values.features. tilt.enabled }}
39+ {{- if not .Values.tilt.enabled }}
4040 - --leader-elect
4141 {{- end }}
42- {{- if .Values.features.apiV1MetasHandler.enabled }}
43- - --feature-gates=WebhookProviderCertManager=true
44- {{- end }}
45- {{- if .Values.features.singleOwnNamespaceInstallSupport.enabled }}
46- - --feature-gates=SingleOwnNamespaceInstallSupport=true
47- {{- end }}
48- {{- if .Values.features.preflightPermissions.enabled }}
49- - --feature-gates=PreflightPermissions=true
50- {{- end }}
51- {{- if .Values.features.helmChartSupport.enabled }}
52- - --feature-gates=HelmChartSupport=true
42+ {{- range .Values.operatorControllerFeatures }}
43+ - --feature-gates={{- . -}}=true
5344 {{- end }}
5445 {{- if .Values.components.certManager.enabled }}
5546 - --catalogd-cas-dir=/var/ca-certs
7364 {{- toYamlPretty . | nindent 12 }}
7465 {{- end }}
7566 image : " {{ .Values.components.operatorController.deployment.image }}"
76- {{- if not .Values.features. tilt.enabled }}
67+ {{- if not .Values.tilt.enabled }}
7768 livenessProbe :
7869 httpGet :
7970 path : /healthz
8273 periodSeconds : 20
8374 {{- end }}
8475 name : manager
85- {{- if not .Values.features. tilt.enabled }}
76+ {{- if not .Values.tilt.enabled }}
8677 readinessProbe :
8778 httpGet :
8879 path : /readyz
Original file line number Diff line number Diff line change @@ -41,19 +41,12 @@ components:
4141 e2e :
4242 enabled : false
4343
44- features :
45- tilt :
46- enabled : false
47- apiV1MetasHandler :
48- enabled : false
49- webhookProviderCertManager :
50- enabled : false
51- singleOwnNamespaceInstallSupport :
52- enabled : false
53- preflightPermissions :
54- enabled : false
55- helmChartSupport :
56- enabled : false
44+
45+ tilt :
46+ enabled : false
47+
48+ operatorControllerFeatures : []
49+ catalogdFeatures : []
5750
5851# This can be one of: standard or experimental
5952featureSet : standard
Original file line number Diff line number Diff line change 22# This is a YAML-formatted file.
33# Declare variables to be passed into your templates.
44
5- features :
6- tilt :
7- enabled : true
8- apiV1MetasHandler :
9- enabled : true
10- webhookProviderCertManager :
11- enabled : true
12- singleOwnNamespaceInstallSupport :
13- enabled : true
14- preflightPermissions :
15- enabled : true
16- helmChartSupport :
17- enabled : true
5+ tilt :
6+ enabled : true
7+
8+ operatorControllerFeatures :
9+ - WebhookProviderCertManager
10+ - SingleOwnNamespaceInstallSupport
11+ - PreflightPermissions
12+ - HelmChartSupport
13+
14+ catalogdFeatures :
15+ - APIV1MetasHandler
1816
1917# This can be one of: standard or experimental
2018featureSet : experimental
You can’t perform that action at this time.
0 commit comments