Merge pull request #4 from zktaiga/add/sa
Add `ServiceAccount` template
This commit is contained in:
@@ -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 }}
|
||||||
Reference in New Issue
Block a user