Skip to content

Commit b671120

Browse files
Add clusterIP as variable
1 parent fec7159 commit b671120

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ 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 }}
99+
{{- end }}
97100
{{- with .Values.service.externalIPs }}
98101
externalIPs:
99102
{{- toYaml . | nindent 4 }}

charts/nfs-server-provisioner/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ service:
3333
# rquotadNodePort:
3434
# rpcbindNodePort:
3535
# statdNodePort:
36+
# clusterIP:
3637

3738
externalIPs: []
3839

0 commit comments

Comments
 (0)