We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1f52e3 commit 6c9e585Copy full SHA for 6c9e585
hack/charts/cluster-api-operator/templates/infra.yaml
@@ -46,10 +46,14 @@ spec:
46
{{- end }}
47
{{- if $.Values.manager }}
48
manager:
49
-{{- if $.Values.manager.featureGates }}
50
- featureGates:
+{{- if hasKey $.Values.manager.featureGates $infrastructureName }}
51
{{- range $key, $value := $.Values.manager.featureGates }}
52
- {{ $key }}: {{ $value }}
+ {{- if eq $key $infrastructureName }}
+ featureGates:
53
+ {{- range $k, $v := $value }}
54
+ {{ $k }}: {{ $v }}
55
+ {{- end }}
56
57
58
59
0 commit comments