mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 09:44:51 +00:00
Fix serviceAccount template (#5398)
current serviceAccount template failed to apply correctly
This commit is contained in:
parent
570cd9880d
commit
1373490c95
|
@ -3,10 +3,8 @@ apiVersion: v1
|
|||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ template "teleport.serviceAccountName" . }}
|
||||
labels:
|
||||
{{ include "teleport.labels" . | indent 4 }}
|
||||
{{- if .Values.serviceAccount.annotations -}}
|
||||
annotations:
|
||||
{{ .Values.serviceAccount.annotations | indent 4 }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
labels: {{ include "teleport.labels" . | nindent 4 }}
|
||||
{{- if .Values.serviceAccount.annotations }}
|
||||
annotations: {{ toYaml .Values.serviceAccount.annotations | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue