diff --git a/rds/base/charts/all/charts/layer0-web/templates/configmap.yaml b/rds/base/charts/all/charts/layer0-web/templates/configmap.yaml index 54746c5..0ad45fe 100644 --- a/rds/base/charts/all/charts/layer0-web/templates/configmap.yaml +++ b/rds/base/charts/all/charts/layer0-web/templates/configmap.yaml @@ -44,11 +44,11 @@ data: {{- $upper_name := $name | upper | replace "." "_" -}} {{- $client_id := printf "%s_%s" $upper_name "OAUTH_CLIENT_ID" }} {{- $client_secret := printf "%s_%s" $upper_name "OAUTH_CLIENT_SECRET" }} - {{- if hasKey $.Values.environment $client_id }} - {{ set $domain "OAUTH_CLIENT_ID" (get $.Values.environment $client_id) }} + {{- if hasKey .Values.environment $client_id }} + {{ set $domain "OAUTH_CLIENT_ID" (get .Values.environment $client_id) }} {{- end }} - {{- if hasKey $.Values.environment $client_secret }} - {{ set $domain "OAUTH_CLIENT_SECRET" (get $.Values.environment $client_secret) }} + {{- if hasKey .Values.environment $client_secret }} + {{ set $domain "OAUTH_CLIENT_SECRET" (get .Values.environment $client_secret) }} {{- end }} {{- end }} apiVersion: v1