Merge pull request #4 from zktaiga/add/sa

Add `ServiceAccount` template
This commit is contained in:
James Read authored and GitHub committed 2024-10-22 09:11:54 +01:00
commit 465e817e22
2 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: postiz-app
description: A Social Media Scheduling App
type: application
version: 1.0.2
version: 1.0.3
appVersion: "1.3.0"
maintainers:
- name: jonathan-irvin
@@ -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 }}