diff --git a/charts/postiz/templates/postiz-serviceaccount.yaml b/charts/postiz/templates/postiz-serviceaccount.yaml new file mode 100644 index 0000000..7d5f34f --- /dev/null +++ b/charts/postiz/templates/postiz-serviceaccount.yaml @@ -0,0 +1,12 @@ +{{- if .Values.serviceAccount.create }} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "postiz.serviceAccountName" . }} + labels: + {{- include "postiz.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }}