fix: common.serviceAccountName
should accepts $serviceAccount
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
{{- $top := first . -}}
|
||||
{{- $deployment := index . 1 -}}
|
||||
{{- $autoscaling := index . 2 -}}
|
||||
{{- $serviceAccount := index . 3 -}}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@ -16,7 +17,7 @@ spec:
|
||||
matchLabels:
|
||||
{{- include "common.selectorLabels" $top | nindent 6 }}
|
||||
template:
|
||||
{{- include "common.pod.template" . | nindent 4 }}
|
||||
{{- include "common.pod.template" (list $top $deployment $serviceAccount) | nindent 4 }}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "common.deployment" -}}
|
||||
|
Reference in New Issue
Block a user