Merge pull request #52 from mogaal/service-annotations

Service annotations support
This commit is contained in:
Jeff Malnick 2019-09-26 19:45:51 -07:00 committed by GitHub
commit 1773a5759d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -15,6 +15,9 @@ metadata:
# to an open issue where it may not work:
# https://github.com/kubernetes/kubernetes/issues/58662
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
{{- if .Values.server.service.annotations }}
{{ toYaml .Values.server.service.annotations | indent 4 }}
{{- end }}
spec:
{{- if .Values.server.service.clusterIP }}
clusterIP: {{ .Values.server.service.clusterIP }}

View file

@ -97,6 +97,8 @@ server:
port: 8200
# Target port to which the service should be mapped to
targetPort: 8200
# Extra annotations for the service definition
annotations: {}
# This configures the Vault Statefulset to create a PVC for data
# storage when using the file backend.