File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
hack/charts/cluster-api-operator/templates Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 4444{{- if $bootstrapVersion }}
4545 version : {{ $bootstrapVersion }}
4646{{- end }}
47+ {{- if $.Values.manager }}
48+ manager :
49+ {{- if and $.Values.manager.featureGates $.Values.manager.featureGates.bootstrap }}
50+ featureGates :
51+ {{- range $key, $value := $.Values.manager.featureGates.bootstrap }}
52+ {{ $key }}: {{ $value }}
53+ {{- end }}
54+ {{- end }}
55+ {{- end }}
4756{{- if $.Values.configSecret.name }}
4857 configSecret :
4958 name : {{ $.Values.configSecret.name }}
Original file line number Diff line number Diff line change @@ -46,15 +46,11 @@ spec:
4646{{- end }}
4747{{- if $.Values.manager }}
4848 manager :
49- {{- if hasKey $.Values.manager.featureGates $controlPlaneName }}
50- {{- range $key, $value := $.Values.manager.featureGates }}
51- {{- if eq $key $controlPlaneName }}
49+ {{- if and $.Values.manager.featureGates $.Values.manager.featureGates.controlPlane }}
5250 featureGates :
53- {{- range $k , $v := $value }}
54- {{ $k }}: {{ $v }}
51+ {{- range $key , $value := $.Values.manager.featureGates.controlPlane }}
52+ {{ $key }}: {{ $value }}
5553 {{- end }}
56- {{- end }}
57- {{- end }}
5854{{- end }}
5955{{- end }}
6056{{- if $.Values.configSecret.name }}
You can’t perform that action at this time.
0 commit comments