Commit f0ee2ca6 authored by Gabriele Giammatteo's avatar Gabriele Giammatteo
Browse files

fix origin env variable

parent a4243c65
Pipeline #5519 passed with stages
in 2 minutes and 25 seconds
......@@ -42,7 +42,8 @@ env:
value: {{ .Values.keycloak.clientId }}
{{- end }}
- name: CORS_ORIGIN_STRING
value: {{ include "cybco.call-in-virtual-context" (list "cybco.external.url" . "" "frontend") }}
# start from the frontend url and extract the origin with regexFind
value: {{ include "cybco.call-in-virtual-context" (list "cybco.external.url" . "" "frontend") | regexFind "^http[s]?://[^/]*" }}
- name: DEV_FLAG_LXS_ENABLED
value: {{ .Values.features.lxs | quote }}
{{- if .Values.features.lxs }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment