diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-07-29 08:09:47 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-07-29 08:09:47 +0200 |
commit | daf172833ca8ded43acaa32d03aae918af4c28c3 (patch) | |
tree | 9dd105768a634b46541f7c3b9dff5d02d6204a8b /templates/serviceaccount.yaml |
Diffstat (limited to 'templates/serviceaccount.yaml')
-rw-r--r-- | templates/serviceaccount.yaml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/serviceaccount.yaml b/templates/serviceaccount.yaml new file mode 100644 index 0000000..e54a896 --- /dev/null +++ b/templates/serviceaccount.yaml @@ -0,0 +1,12 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "nitter.serviceAccountName" . }} + labels: + {{- include "nitter.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} |