Skip to content

Commit

Permalink
Add extra osmcha env vars in deployent
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Oct 13, 2023
1 parent a4da1da commit 73eb8ae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions osm-seed/templates/osmcha-web/osmcha-web-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

5 changes: 5 additions & 0 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 73eb8ae

Please sign in to comment.