Skip to content

Commit

Permalink
Merge pull request #4 from zktaiga/add/sa
Browse files Browse the repository at this point in the history
Add `ServiceAccount` template
  • Loading branch information
jamesread authored Oct 22, 2024
2 parents 0450089 + 36c0e0a commit 465e817
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/postiz/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions charts/postiz/templates/postiz-serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 465e817

Please sign in to comment.