File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
hack/charts/cluster-api-operator/templates Expand file tree Collapse file tree 2 files changed +19
-1
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 @@ -38,12 +38,21 @@ metadata:
3838 annotations :
3939 " helm.sh/hook " : " post-install,post-upgrade"
4040 " helm.sh/hook-weight " : " 2"
41- {{- if or $controlPlaneVersion $.Values.configSecret.name }}
41+ {{- if or $controlPlaneVersion $.Values.configSecret.name $.Values.manager }}
4242spec :
4343{{- end}}
4444{{- if $controlPlaneVersion }}
4545 version : {{ $controlPlaneVersion }}
4646{{- end }}
47+ {{- if $.Values.manager }}
48+ manager :
49+ {{- if and $.Values.manager.featureGates $.Values.manager.featureGates.controlPlane }}
50+ featureGates :
51+ {{- range $key, $value := $.Values.manager.featureGates.controlPlane }}
52+ {{ $key }}: {{ $value }}
53+ {{- end }}
54+ {{- end }}
55+ {{- end }}
4756{{- if $.Values.configSecret.name }}
4857 configSecret :
4958 name : {{ $.Values.configSecret.name }}
You can’t perform that action at this time.
0 commit comments