fix: forward release.namespace to drone default namespace
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2021-08-17 20:58:57 +02:00
parent df04ecbd07
commit 7eb1e76c40
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -9,6 +9,10 @@ stringData:
{{- $_ := set .Values "config" dict -}}
{{- end -}}
{{- if not (hasKey .Values.config "DRONE_NAMESPACE_DEFAULT") -}}
{{- $_ := set .Values.config "DRONE_NAMESPACE_DEFAULT" .Release.Namespace -}}
{{- end -}}
{{/* SETUP CONFIG */}}
{{ range $key, $value := .Values.config }}
{{ upper $key}}: {{ quote $value }}