oecis-charts/charts/gate/templates/serviceaccount.yaml

13 lines
314 B
YAML
Raw Normal View History

2023-10-08 13:37:34 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "gate.serviceAccountName" . }}
labels:
{{- include "gate.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}