summaryrefslogtreecommitdiffstats
path: root/helm
diff options
context:
space:
mode:
authorCansu Kavili <cansukavili@gmail.com>2020-04-15 09:50:30 +0200
committerCansu Kavili <cansukavili@gmail.com>2020-04-15 09:50:30 +0200
commit60384be5fffc1d78501e93fcc311faf24f4d393e (patch)
treed345178857a6d66cd275266111613204277873b0 /helm
parent8ac305778a73ccad65b94cca8c2f1b1f35698de8 (diff)
downloadwekan-60384be5fffc1d78501e93fcc311faf24f4d393e.tar.gz
wekan-60384be5fffc1d78501e93fcc311faf24f4d393e.tar.bz2
wekan-60384be5fffc1d78501e93fcc311faf24f4d393e.zip
add annotations if specified in values file
Diffstat (limited to 'helm')
-rw-r--r--helm/wekan/templates/serviceaccount.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/helm/wekan/templates/serviceaccount.yaml b/helm/wekan/templates/serviceaccount.yaml
index 58696cb6..543e58d4 100644
--- a/helm/wekan/templates/serviceaccount.yaml
+++ b/helm/wekan/templates/serviceaccount.yaml
@@ -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" . }}