Skip to content

Commit 205471a

Browse files
authored
Remove version check in controller-service.yaml (#3282)
The check is no longer needed since we bumped the minimum version to 1.21
1 parent 55b4d3c commit 205471a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,12 @@ spec:
3232
{{- end }}
3333
{{- end }}
3434
type: {{ .Values.controller.service.type }}
35-
{{- if semverCompare ">=1.21.0-0" .Capabilities.KubeVersion.Version }}
3635
{{- if .Values.controller.service.ipFamilyPolicy }}
3736
ipFamilyPolicy: {{ .Values.controller.service.ipFamilyPolicy }}
3837
{{- end }}
3938
{{- if .Values.controller.service.ipFamilies }}
4039
ipFamilies: {{ .Values.controller.service.ipFamilies }}
4140
{{- end }}
42-
{{- end }}
4341
ports:
4442
{{- if .Values.controller.service.customPorts }}
4543
{{ toYaml .Values.controller.service.customPorts | indent 2 }}

0 commit comments

Comments
 (0)