serviceaccount.yaml 395 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
  name: {{ include "firstchart.serviceAccountName" . }}
  labels:
    {{- include "firstchart.labels" . | nindent 4 }}
  {{- with .Values.serviceAccount.annotations }}
  annotations:
    {{- toYaml . | nindent 4 }}
  {{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
{{- end }}