aboutsummaryrefslogtreecommitdiff
path: root/script/helm/garage/templates/serviceaccount.yaml
diff options
context:
space:
mode:
authorchemicstry <chemicstry@gmail.com>2022-06-20 15:52:43 +0300
committerMaximilien R <maximilien@deuxfleurs.fr>2022-09-30 18:46:57 +0200
commita93dcce84196bb8ffc8cef091d1343597b15b9a6 (patch)
treed14aad0abde74d453f590fe2ac0556a66ee8c6e4 /script/helm/garage/templates/serviceaccount.yaml
parentb17d59cfabbe92c509f4888cae83f6053a8cab1e (diff)
downloadgarage-a93dcce84196bb8ffc8cef091d1343597b15b9a6.tar.gz
garage-a93dcce84196bb8ffc8cef091d1343597b15b9a6.zip
Add helm chart
Diffstat (limited to 'script/helm/garage/templates/serviceaccount.yaml')
-rw-r--r--script/helm/garage/templates/serviceaccount.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/script/helm/garage/templates/serviceaccount.yaml b/script/helm/garage/templates/serviceaccount.yaml
new file mode 100644
index 00000000..a0a89a33
--- /dev/null
+++ b/script/helm/garage/templates/serviceaccount.yaml
@@ -0,0 +1,12 @@
+{{- if .Values.serviceAccount.create -}}
+apiVersion: v1
+kind: ServiceAccount
+metadata:
+ name: {{ include "garage.serviceAccountName" . }}
+ labels:
+ {{- include "garage.labels" . | nindent 4 }}
+ {{- with .Values.serviceAccount.annotations }}
+ annotations:
+ {{- toYaml . | nindent 4 }}
+ {{- end }}
+{{- end }}