Skip to content

Commit d3fd417

Browse files
committed
feat: bootstrap provider feature gates
Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
1 parent 3007652 commit d3fd417

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ spec:
3333
{{- end}}
3434
{{- if $bootstrap.manager }}
3535
manager:
36+
{{- if $bootstrap.manager.featureGates }}
37+
featureGates:
38+
{{- range $key, $value := bootstrap.manager.featureGates }}
39+
{{ $key }}: {{ $value }}
40+
{{- end }}
41+
{{- end }}
3642
{{- if $bootstrap.manager.metrics }}
3743
metrics:
3844
{{- if $bootstrap.manager.metrics.insecureDiagnostics }}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ bootstrap: {}
1818
# version: "" # Optional
1919
# createNamespace: true # Optional
2020
# manager: # Optional
21+
# featureGates:
22+
# ClusterTopology: true
23+
# MachinePool: true
2124
# metrics:
2225
# insecureDiagnostics: true
2326
# diagnosticsAddress: localhost:8080

0 commit comments

Comments
 (0)