diff --git a/templates/server-service.yaml b/templates/server-service.yaml index 34fd89f..6dd2602 100644 --- a/templates/server-service.yaml +++ b/templates/server-service.yaml @@ -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 }} diff --git a/values.yaml b/values.yaml index 42393bf..0f5a442 100644 --- a/values.yaml +++ b/values.yaml @@ -97,7 +97,9 @@ 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. # See https://www.vaultproject.io/docs/audit/index.html to know more