Only include clusterIp on vault service if set in values (#12)
This commit is contained in:
parent
0b8aacb590
commit
0b2218d1d9
2 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ metadata:
|
||||||
# https://github.com/kubernetes/kubernetes/issues/58662
|
# https://github.com/kubernetes/kubernetes/issues/58662
|
||||||
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
|
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.server.service.clusterIP }}
|
||||||
clusterIP: {{ .Values.server.service.clusterIP }}
|
clusterIP: {{ .Values.server.service.clusterIP }}
|
||||||
|
{{- end }}
|
||||||
# We want the servers to become available even if they're not ready
|
# We want the servers to become available even if they're not ready
|
||||||
# since this DNS is also used for join operations.
|
# since this DNS is also used for join operations.
|
||||||
publishNotReadyAddresses: true
|
publishNotReadyAddresses: true
|
||||||
|
|
|
@ -81,7 +81,7 @@ server:
|
||||||
# Kubernetes will create a "headless" service. Headless services can be
|
# Kubernetes will create a "headless" service. Headless services can be
|
||||||
# used to communicate with pods directly through DNS instead of a round robin
|
# used to communicate with pods directly through DNS instead of a round robin
|
||||||
# load balancer.
|
# load balancer.
|
||||||
clusterIP: ""
|
# clusterIP: None
|
||||||
|
|
||||||
# This configures the Vault Statefulset to create a PVC for data
|
# This configures the Vault Statefulset to create a PVC for data
|
||||||
# storage when using the file backend.
|
# storage when using the file backend.
|
||||||
|
|
Loading…
Reference in a new issue