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 2
2
# This is a YAML-formatted file.
3
3
# Declare variables to be passed into your templates.
4
4
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
16
19
17
20
# This can be one of: standard or experimental
18
21
featureSet : experimental
Original file line number Diff line number Diff line change @@ -35,13 +35,13 @@ spec:
35
35
spec :
36
36
containers :
37
37
- args :
38
- {{- if not .Values.features. tilt.enabled }}
38
+ {{- if not .Values.tilt.enabled }}
39
39
- --leader-elect
40
40
{{- end }}
41
41
- --metrics-bind-address=:7443
42
42
- --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
45
45
{{- end }}
46
46
{{- if .Values.components.certManager.enabled }}
47
47
- --tls-cert=/var/certs/tls.crt
64
64
{{- toYamlPretty . | nindent 12 }}
65
65
{{- end }}
66
66
image : " {{ .Values.components.catalogd.deployment.image }}"
67
- {{- if not .Values.features. tilt.enabled }}
67
+ {{- if not .Values.tilt.enabled }}
68
68
livenessProbe :
69
69
httpGet :
70
70
path : /healthz
73
73
periodSeconds : 20
74
74
{{- end }}
75
75
name : manager
76
- {{- if not .Values.features. tilt.enabled }}
76
+ {{- if not .Values.tilt.enabled }}
77
77
readinessProbe :
78
78
httpGet :
79
79
path : /readyz
Original file line number Diff line number Diff line change @@ -36,20 +36,11 @@ spec:
36
36
- args :
37
37
- --health-probe-bind-address=:8081
38
38
- --metrics-bind-address=:8443
39
- {{- if not .Values.features. tilt.enabled }}
39
+ {{- if not .Values.tilt.enabled }}
40
40
- --leader-elect
41
41
{{- 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
53
44
{{- end }}
54
45
{{- if .Values.components.certManager.enabled }}
55
46
- --catalogd-cas-dir=/var/ca-certs
73
64
{{- toYamlPretty . | nindent 12 }}
74
65
{{- end }}
75
66
image : " {{ .Values.components.operatorController.deployment.image }}"
76
- {{- if not .Values.features. tilt.enabled }}
67
+ {{- if not .Values.tilt.enabled }}
77
68
livenessProbe :
78
69
httpGet :
79
70
path : /healthz
82
73
periodSeconds : 20
83
74
{{- end }}
84
75
name : manager
85
- {{- if not .Values.features. tilt.enabled }}
76
+ {{- if not .Values.tilt.enabled }}
86
77
readinessProbe :
87
78
httpGet :
88
79
path : /readyz
Original file line number Diff line number Diff line change @@ -41,19 +41,12 @@ components:
41
41
e2e :
42
42
enabled : false
43
43
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 : []
57
50
58
51
# This can be one of: standard or experimental
59
52
featureSet : standard
Original file line number Diff line number Diff line change 2
2
# This is a YAML-formatted file.
3
3
# Declare variables to be passed into your templates.
4
4
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
18
16
19
17
# This can be one of: standard or experimental
20
18
featureSet : experimental
You can’t perform that action at this time.
0 commit comments