Skip to content

Commit 8085fef

Browse files
authored
Merge pull request #74 from flavegmbh/master
Add clusterIP as variable
2 parents fec7159 + b336a22 commit 8085fef

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+
{{- with .Values.service.clusterIP }}
98+
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)