Skip to content

Commit 8286356

Browse files
authored
Merge branch 'main' into chore/tests
2 parents a86506b + 4cba337 commit 8286356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployments/helm-chart/templates/controller-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
{{- end }}
2121
{{- end }}
2222
{{- if eq .Values.controller.service.type "LoadBalancer" }}
23-
{{- if and (semverCompare ">=1.22.0-0" .Capabilities.KubeVersion.Version) (.Values.controller.service.allocateLoadBalancerNodePorts) }}
23+
{{- if hasKey .Values.controller.service "allocateLoadBalancerNodePorts" }}
2424
allocateLoadBalancerNodePorts: {{ .Values.controller.service.allocateLoadBalancerNodePorts }}
2525
{{- end }}
2626
{{- if .Values.controller.service.loadBalancerIP }}

0 commit comments

Comments
 (0)