mirror of
https://github.com/Luzifer/go-latestver.git
synced 2024-11-14 09:52:42 +00:00
14 lines
399 B
YAML
14 lines
399 B
YAML
|
{{- if .Values.serviceAccount.create -}}
|
||
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: {{ include "go-latestver.serviceAccountName" . }}
|
||
|
labels:
|
||
|
{{- include "go-latestver.labels" . | nindent 4 }}
|
||
|
{{- with .Values.serviceAccount.annotations }}
|
||
|
annotations:
|
||
|
{{- toYaml . | nindent 4 }}
|
||
|
{{- end }}
|
||
|
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
|
||
|
{{- end }}
|