Skip to content

Commit 465e817

Browse files
authored
Merge pull request #4 from zktaiga/add/sa
Add `ServiceAccount` template
2 parents 0450089 + 36c0e0a commit 465e817

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

charts/postiz/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: postiz-app
33
description: A Social Media Scheduling App
44
type: application
5-
version: 1.0.2
5+
version: 1.0.3
66
appVersion: "1.3.0"
77
maintainers:
88
- name: jonathan-irvin
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{{- if .Values.serviceAccount.create }}
2+
apiVersion: v1
3+
kind: ServiceAccount
4+
metadata:
5+
name: {{ include "postiz.serviceAccountName" . }}
6+
labels:
7+
{{- include "postiz.labels" . | nindent 4 }}
8+
{{- with .Values.serviceAccount.annotations }}
9+
annotations:
10+
{{- toYaml . | nindent 4 }}
11+
{{- end }}
12+
{{- end }}

0 commit comments

Comments
 (0)