Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CYBELE
helm
visualization
Commits
f0ee2ca6
Commit
f0ee2ca6
authored
Oct 11, 2021
by
Gabriele Giammatteo
Browse files
fix origin env variable
parent
a4243c65
Pipeline
#5519
passed with stages
in 2 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
templates/backend-deployment.yaml
templates/backend-deployment.yaml
+2
-1
No files found.
templates/backend-deployment.yaml
View file @
f0ee2ca6
...
...
@@ -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
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment