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

update env variables

parent c52ca95d
Pipeline #6825 passed with stages
in 53 seconds
......@@ -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" -}}
......
......@@ -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
......@@ -20,6 +20,10 @@ features:
lxs: true
aqb: true
mapTiler:
key:
keyExistingSecret:
image:
repository: harbor.res.eng.it/cybele/visualization/visualization-frontend
pullPolicy: IfNotPresent
......
Supports Markdown
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