Explorar o código

add annotations if specified in values file

Cansu Kavili %!s(int64=5) %!d(string=hai) anos
pai
achega
60384be5ff
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      helm/wekan/templates/serviceaccount.yaml

+ 4 - 0
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" . }}