Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CYBELE
helm
visualization
Commits
d0286464
Commit
d0286464
authored
Mar 09, 2022
by
Gabriele Giammatteo
Browse files
update env variables
parent
c52ca95d
Pipeline
#6825
passed with stages
in 53 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
templates/backend-deployment.yaml
View file @
d0286464
...
...
@@ -70,6 +70,8 @@ env:
-
name
:
AQB_GET_SQL_URL
value
:
{{
include "cybco.call-in-virtual-context" (list "cybco.external.url" . "query-builder" "")
}}
api/get_query_statement
{{
- end
}}
{{
- /* include extra env variables from extraEnv and extraEnvTpl keys*/ -
}}
{{
- include "cybco.container.extra-env" . | nindent 2
}}
{{
- end -
}}
{{
- define "visualization.backend-init-container" -
}}
...
...
templates/frontend-deployment.yaml
View file @
d0286464
...
...
@@ -24,6 +24,23 @@ env:
value
:
{{
.Values.keycloak.authUrl
}}
-
name
:
REACT_APP_KEYCLOAK_CLIENT_ID
value
:
{{
.Values.keycloak.clientId
}}
-
name
:
REACT_APP_DEV_FLAG_STATIC_DATASET
value
:
"
false"
-
name
:
REACT_APP_DEV_FLAG_STATIC_DATASET_LOCATION
value
:
./data/crop_polygons.csv,./data/subset_ILVO.csv
-
name
:
REACT_APP_MAPTILER_KEY
{{
- if .Values.mapTiler.key
}}
value
:
{{
.Values.mapTiler.key
}}
{{
- else if .Values.mapTiler.keyExistingSecret
}}
valueFrom
:
secretKeyRef
:
name
:
{{
.Values.mapTiler.keyExistingSecret
}}
key
:
key
{{
- else
}}
value
:
"
"
{{
- end
}}
{{
- /* include extra env variables from extraEnv and extraEnvTpl keys*/ -
}}
{{
- include "cybco.container.extra-env" . | nindent 2
}}
{{
- end
}}
{{
- end -
}}
\ No newline at end of file
values.yaml
View file @
d0286464
...
...
@@ -20,6 +20,10 @@ features:
lxs
:
true
aqb
:
true
mapTiler
:
key
:
keyExistingSecret
:
image
:
repository
:
harbor.res.eng.it/cybele/visualization/visualization-frontend
pullPolicy
:
IfNotPresent
...
...
Write
Preview
Supports
Markdown
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