Skip to content

Commit

Permalink
Merge pull request #409 from zioproto/manager-featureGates
Browse files Browse the repository at this point in the history
✨ Add to InfrastructureProvider spec.manager.featureGates
  • Loading branch information
k8s-ci-robot authored Feb 15, 2024
2 parents 5d16af9 + df0a45c commit e23d296
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hack/charts/cluster-api-operator/templates/infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ spec:
{{- if $infrastructureVersion }}
version: {{ $infrastructureVersion }}
{{- end }}
{{- if $.Values.manager }}
manager:
{{- if $.Values.manager.featureGates }}
featureGates:
{{- range $key, $value := $.Values.manager.featureGates }}
{{ $key }}: {{ $value }}
{{- end }}
{{- end }}
{{- end }}
{{- if $.Values.configSecret.name }}
configSecret:
name: {{ $.Values.configSecret.name }}
Expand Down
1 change: 1 addition & 0 deletions hack/charts/cluster-api-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ bootstrap: ""
controlPlane: ""
infrastructure: ""
addon: ""
manager.featureGates: {}
# ---
# Common configuration secret options
configSecret: {}
Expand Down

0 comments on commit e23d296

Please sign in to comment.