restore with
blocks for service account name and service account annotations
Signed-off-by: reinvantveer <reinvantveer@gmail.com>
This commit is contained in:
parent
8822b8a74a
commit
232e72efbc
1 changed files with 6 additions and 2 deletions
|
@ -23,9 +23,13 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ $.Values.workflow.serviceAccount.name }}
|
{{- with $.Values.workflow.serviceAccount.name }}
|
||||||
|
name: {{ . }}
|
||||||
|
{{- end }}
|
||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
|
{{- with $.Values.workflow.serviceAccount.annotations }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml $.Values.workflow.serviceAccount.annotations | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue