unwrap (inline) with-block for service account name

Signed-off-by: reinvantveer <reinvantveer@gmail.com>
This commit is contained in:
reinvantveer 2021-07-20 15:43:27 +02:00
parent 17e372b86d
commit 531872185a

View file

@ -4,9 +4,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
{{- with $.Values.workflow.serviceAccount.name }}
name: {{ . }}
{{- end }}
name: {{ $.Values.workflow.serviceAccount.name }}
{{- with $namespace }}
namespace: {{ . }}
{{- end }}