Added support for service annotations
This commit is contained in:
parent
3f5b0b7b7e
commit
865b98f55d
2 changed files with 6 additions and 1 deletions
|
@ -15,6 +15,9 @@ metadata:
|
||||||
# to an open issue where it may not work:
|
# to an open issue where it may not work:
|
||||||
# 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"
|
||||||
|
{{- if .Values.server.service.annotations }}
|
||||||
|
{{ toYaml .Values.server.service.annotations | indent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if .Values.server.service.clusterIP }}
|
{{- if .Values.server.service.clusterIP }}
|
||||||
clusterIP: {{ .Values.server.service.clusterIP }}
|
clusterIP: {{ .Values.server.service.clusterIP }}
|
||||||
|
|
|
@ -97,6 +97,8 @@ server:
|
||||||
port: 8200
|
port: 8200
|
||||||
# Target port to which the service should be mapped to
|
# Target port to which the service should be mapped to
|
||||||
targetPort: 8200
|
targetPort: 8200
|
||||||
|
# Extra annotations for the service definition
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
# 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