Skip to content

Commit e23d296

Browse files
authored
Merge pull request #409 from zioproto/manager-featureGates
✨ Add to InfrastructureProvider spec.manager.featureGates
2 parents 5d16af9 + df0a45c commit e23d296

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

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

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

hack/charts/cluster-api-operator/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ bootstrap: ""
1212
controlPlane: ""
1313
infrastructure: ""
1414
addon: ""
15+
manager.featureGates: {}
1516
# ---
1617
# Common configuration secret options
1718
configSecret: {}

0 commit comments

Comments
 (0)