Skip to content

Commit 32b1b3a

Browse files
oprinmariusk8s-infra-cherrypick-robot
authored andcommitted
Add featureGates to CoreProvider
1 parent 4ea2196 commit 32b1b3a

File tree

1 file changed

+9
-0
lines changed
  • hack/charts/cluster-api-operator/templates

1 file changed

+9
-0
lines changed

hack/charts/cluster-api-operator/templates/core.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ spec:
4343
{{- if $coreVersion }}
4444
version: {{ $coreVersion }}
4545
{{- end }}
46+
{{- if $.Values.manager }}
47+
manager:
48+
{{- if $.Values.manager.featureGates.core }}
49+
featureGates:
50+
{{- range $key, $value := $.Values.manager.featureGates.core }}
51+
{{ $key }}: {{ $value }}
52+
{{- end }}
53+
{{- end }}
54+
{{- end }}
4655
{{- if $.Values.configSecret.name }}
4756
configSecret:
4857
name: {{ $.Values.configSecret.name }}

0 commit comments

Comments
 (0)