8000 Remove semverCompare for allocateLoadBalancerNodePorts · nginx/kubernetes-ingress@f9547b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit f9547b6

Browse files
committed
Remove semverCompare for allocateLoadBalancerNodePorts
Kubernetes 1.22.0 is now a minimum requirement for the entire chart.
1 parent 9436a76 commit f9547b6

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)
0