Skip to content

Commit 41d7107

Browse files
authored
Merge pull request #681 from afarbos/af/NoFeatureGateCP
🐛 avoid empty manager field in ControlPlaneProvider when no features gates provided
2 parents 2f2c5f1 + 73283c1 commit 41d7107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/charts/cluster-api-operator/templates/control-plane.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ spec:
4545
version: {{ $controlPlaneVersion }}
4646
{{- end }}
4747
{{- if $.Values.manager }}
48-
manager:
4948
{{- if hasKey $.Values.manager.featureGates $controlPlaneName }}
49+
manager:
5050
{{- range $key, $value := $.Values.manager.featureGates }}
5151
{{- if eq $key $controlPlaneName }}
5252
featureGates:

0 commit comments

Comments
 (0)