ichi/helm/templates/serviceaccount.yaml

13 lines
314 B
YAML
Raw Normal View History

2022-09-05 16:41:31 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
2022-09-05 16:43:02 +00:00
name: {{ include "ichi.serviceAccountName" . }}
2022-09-05 16:41:31 +00:00
labels:
2022-09-05 16:43:02 +00:00
{{- include "ichi.labels" . | nindent 4 }}
2022-09-05 16:41:31 +00:00
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}