diff --git a/hack/charts/cluster-api-operator/templates/bootstrap.yaml b/hack/charts/cluster-api-operator/templates/bootstrap.yaml index bd6c8e6f5..c79348c1d 100644 --- a/hack/charts/cluster-api-operator/templates/bootstrap.yaml +++ b/hack/charts/cluster-api-operator/templates/bootstrap.yaml @@ -33,6 +33,12 @@ spec: {{- end}} {{- if $bootstrap.manager }} manager: + {{- if $bootstrap.manager.featureGates }} + featureGates: + {{- range $key, $value := $bootstrap.manager.featureGates }} + {{ $key }}: {{ $value }} + {{- end }} + {{- end }} {{- if $bootstrap.manager.metrics }} metrics: {{- if $bootstrap.manager.metrics.insecureDiagnostics }} diff --git a/hack/charts/cluster-api-operator/values.yaml b/hack/charts/cluster-api-operator/values.yaml index 474ce8b1d..f341de31c 100644 --- a/hack/charts/cluster-api-operator/values.yaml +++ b/hack/charts/cluster-api-operator/values.yaml @@ -18,6 +18,9 @@ bootstrap: {} # version: "" # Optional # createNamespace: true # Optional # manager: # Optional +# featureGates: +# ClusterTopology: true +# MachinePool: true # metrics: # insecureDiagnostics: true # diagnosticsAddress: localhost:8080