From 80f4cf1e3f6db895fc22032e7e1e5d82e44a6580 Mon Sep 17 00:00:00 2001 From: Taiga Date: Sun, 20 Oct 2024 22:07:06 +0400 Subject: [PATCH] Add `ServiceAccount` template --- charts/postiz/templates/postiz-serviceaccount.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 charts/postiz/templates/postiz-serviceaccount.yaml 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 }}