Fix server-headless-service annotations (#236)

`Values.server.service.annotations` are now being treated as multi-line
strings, to match the other annotations in the chart, and to support
templating within the annotations.
This commit is contained in:
Theron Voran 2020-03-20 10:54:32 -07:00 committed by GitHub
parent 04df47159d
commit 0550623c21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ metadata:
annotations:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
{{- if .Values.server.service.annotations }}
{{ toYaml .Values.server.service.annotations | indent 4 }}
{{ tpl .Values.server.service.annotations . | indent 4 }}
{{- end }}
spec:
clusterIP: None