summaryrefslogtreecommitdiff
path: root/templates/serviceaccount.yaml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-07-29 08:09:47 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-07-29 08:09:47 +0200
commitdaf172833ca8ded43acaa32d03aae918af4c28c3 (patch)
tree9dd105768a634b46541f7c3b9dff5d02d6204a8b /templates/serviceaccount.yaml
Initial commitHEADmaster
Diffstat (limited to 'templates/serviceaccount.yaml')
-rw-r--r--templates/serviceaccount.yaml12
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 }}