k8s-clusters/helm-charts/chart/templates/serviceaccount.yaml

13 lines
316 B
YAML
Raw Permalink Normal View History

2022-05-25 10:00:19 -05:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "chart.serviceAccountName" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}