fix: common.serviceAccountName
should accepts $serviceAccount
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
{{- define "common.serviceAccount.metadata" -}}
|
||||
{{- $top := first . -}}
|
||||
{{- $serviceAccount := index . 1 -}}
|
||||
name: {{ include "common.serviceAccountName" $top }}
|
||||
name: {{ include "common.serviceAccountName" . }}
|
||||
{{- with $serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 2 }}
|
||||
|
Reference in New Issue
Block a user