File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
hack/charts/cluster-api-operator/templates Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 4444{{- if $controlPlaneVersion }}
4545 version : {{ $controlPlaneVersion }}
4646{{- end }}
47+ {{- if $.Values.manager }}
48+ manager :
49+ {{- if hasKey $.Values.manager.featureGates $controlPlaneName }}
50+ {{- range $key, $value := $.Values.manager.featureGates }}
51+ {{- if eq $key $controlPlaneName }}
52+ featureGates :
53+ {{- range $k, $v := $value }}
54+ {{ $k }}: {{ $v }}
55+ {{- end }}
56+ {{- end }}
57+ {{- end }}
58+ {{- end }}
59+ {{- end }}
4760{{- if $.Values.configSecret.name }}
4861 configSecret :
4962 name : {{ $.Values.configSecret.name }}
Original file line number Diff line number Diff line change @@ -53,6 +53,15 @@ metadata:
5353 " argocd.argoproj.io/sync-wave " : " 2"
5454{{- with .Values.configSecret }}
5555spec :
56+ {{- if $.Values.manager }}
57+ manager :
58+ {{- if $.Values.manager.featureGates.kubeadm }}
59+ featureGates :
60+ {{- range $key, $value := $.Values.manager.featureGates.kubeadm }}
61+ {{ $key }}: {{ $value }}
62+ {{- end }}
63+ {{- end }}
64+ {{- end }}
5665 configSecret :
5766 name : {{ .name }}
5867 {{- if .namespace }}
You can’t perform that action at this time.
0 commit comments