add annotations if specified in values file

This commit is contained in:
Cansu Kavili 2020-04-15 09:50:30 +02:00
parent 8ac305778a
commit 60384be5ff

View file

@ -2,6 +2,10 @@
apiVersion: v1
kind: ServiceAccount
metadata:
{{- if .Values.serviceAccounts.annotations }}
annotations:
{{ .Values.serviceAccounts.annotations | indent 4}}
{{- end }}
labels:
app: {{ template "wekan.name" . }}
chart: {{ template "wekan.chart" . }}