diff --git a/osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml b/osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml index 50b4457a..5dbf8ae9 100644 --- a/osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml +++ b/osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml @@ -109,8 +109,19 @@ spec: value: {{ .Values.osmchaWeb.env.DJANGO_SETTINGS_MODULE | quote }} - name: C_FORCE_ROOT value: {{ .Values.osmchaWeb.env.C_FORCE_ROOT | quote }} + - name: REACT_APP_OSM_URL + value: {{ .Values.osmchaWeb.env.REACT_APP_OSM_URL | quote }} + - name: REACT_APP_OSM_API + value: {{ .Values.osmchaWeb.env.REACT_APP_OSM_API | quote }} + - name: REACT_APP_OVERPASS_BASE + value: {{ .Values.osmchaWeb.env.REACT_APP_OVERPASS_BASE | quote }} + - name: REACT_APP_NOMINATIM_URL + value: {{ .Values.osmchaWeb.env.REACT_APP_NOMINATIM_URL | quote }} + - name: OSMCHA_URL + value: {{ .Values.osmchaWeb.env.OSMCHA_URL | quote }} {{- if .Values.osmchaWeb.nodeSelector.enabled }} nodeSelector: {{ .Values.osmchaWeb.nodeSelector.label_key }} : {{ .Values.osmchaWeb.nodeSelector.label_value }} {{- end }} {{- end }} + diff --git a/osm-seed/values.yaml b/osm-seed/values.yaml index a1aa09b6..36b33979 100644 --- a/osm-seed/values.yaml +++ b/osm-seed/values.yaml @@ -756,6 +756,11 @@ osmchaWeb: DJANGO_ROOT: /app DJANGO_SETTINGS_MODULE: config.settings.local C_FORCE_ROOT: True + REACT_APP_OSM_URL: https://staging.openstreetmap.org + REACT_APP_OSM_API: https://staging.openstreetmap.org/api/0.6 + REACT_APP_OVERPASS_BASE: https://overpass-api-staging.openstreetmap.org/api/interpreter + REACT_APP_NOMINATIM_URL: https://nominatim-api-staging.openstreetmap.org + OSMCHA_URL: https://osmcha-staging.openstreetmap.org resources: enabled: false requests: