18 lines
578 B
YAML
18 lines
578 B
YAML
{{- if .Values.serviceAccount.create }}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{ tpl (toYaml .) $ | indent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
app: {{ template "artifactory-ha.name" . }}
|
|
chart: {{ template "artifactory-ha.chart" . }}
|
|
component: {{ .Values.artifactory.name }}
|
|
heritage: {{ .Release.Service }}
|
|
release: {{ .Release.Name }}
|
|
name: {{ template "artifactory-ha.serviceAccountName" . }}
|
|
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
|
|
{{- end }}
|