Merge pull request #4 from zktaiga/add/sa

Add `ServiceAccount` template
This commit is contained in:
James Read
2024-10-22 09:11:54 +01:00
committed by GitHub
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: postiz-app name: postiz-app
description: A Social Media Scheduling App description: A Social Media Scheduling App
type: application type: application
version: 1.0.2 version: 1.0.3
appVersion: "1.3.0" appVersion: "1.3.0"
maintainers: maintainers:
- name: jonathan-irvin - 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 }}