layer0-web: assign to dummy variable
This commit is contained in:
parent
1739cdd631
commit
22fa01645c
|
@ -45,10 +45,10 @@ data:
|
|||
{{- $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) }}
|
||||
{{ $_ := 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) }}
|
||||
{{ $_ := set $domain "OAUTH_CLIENT_SECRET" (get .Values.environment $client_secret) }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
apiVersion: v1
|
||||
|
|
Loading…
Reference in a new issue