aboutsummaryrefslogtreecommitdiff
path: root/grumpy/cgit/templates/serviceaccount.yaml
diff options
context:
space:
mode:
authorMax Resnick <max@ofmax.li>2020-01-01 11:08:33 -0800
committerMax Resnick <max@ofmax.li>2020-01-01 11:08:33 -0800
commit584857f515ab6fe30530d25483869ed517e9575d (patch)
treea8da4270005b51100d795c58b9ae24f5fc6d0219 /grumpy/cgit/templates/serviceaccount.yaml
parent479a617193774e2fe88279caa34ae3ff56a35fba (diff)
downloadgrumpy-charts-584857f515ab6fe30530d25483869ed517e9575d.tar.gz
add cgit chart
Diffstat (limited to 'grumpy/cgit/templates/serviceaccount.yaml')
-rw-r--r--grumpy/cgit/templates/serviceaccount.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/grumpy/cgit/templates/serviceaccount.yaml b/grumpy/cgit/templates/serviceaccount.yaml
new file mode 100644
index 0000000..9b6aa29
--- /dev/null
+++ b/grumpy/cgit/templates/serviceaccount.yaml
@@ -0,0 +1,8 @@
+{{- if .Values.serviceAccount.create -}}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ template "cgit.serviceAccountName" . }}
+ labels:
+{{ include "cgit.labels" . | indent 4 }}
+{{- end -}}