Skip to content

Commit b336a22

Browse files
Update charts/nfs-server-provisioner/templates/service.yaml
Co-authored-by: Andrei Kvapil <[email protected]>
1 parent b671120 commit b336a22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/nfs-server-provisioner/templates/service.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ spec:
9494
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.statdPort))) }}
9595
nodePort: {{ .Values.service.statdNodePort }}
9696
{{- end }}
97-
{{- if .Values.service.clusterIP }}
98-
clusterIP: {{ .Values.service.clusterIP }}
97+
{{- with .Values.service.clusterIP }}
98+
clusterIP: {{ . }}
9999
{{- end }}
100100
{{- with .Values.service.externalIPs }}
101101
externalIPs:

0 commit comments

Comments
 (0)