Skip to content

Commit e53e15d

Browse files
committed
fix(templates/service): Set service clusterIP from values
1 parent 6d56c6b commit e53e15d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

charts/docker-mailserver/templates/service.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,6 @@ spec:
137137
{{- end }}
138138

139139
type: {{ default "ClusterIP" .Values.service.type }}
140+
{{- if .Values.service.clusterIp }}
141+
clusterIP: {{ .Values.service.clusterIp }}
142+
{{- end }}

charts/docker-mailserver/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ service:
303303
## Note: It's quite unlikely that an IP should be specific. Normally, the best thing to do is leave it to Kubernetes
304304
## to allocate a free IP from the pool.
305305
## Default: Automatically assign a random IP
306-
# privateIp:
306+
# clusterIp:
307307
annotations: {}
308308
labels: {}
309309

0 commit comments

Comments
 (0)