Skip to content

Commit

Permalink
Update env vars for osmcha-api
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jan 31, 2025
1 parent e09eaee commit 7b2b8f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
10 changes: 2 additions & 8 deletions osm-seed/templates/osmcha-app/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ data:
DJANGO_SECRET_KEY: {{ .Values.osmchaApi.env.DJANGO_SECRET_KEY | quote }}
DJANGO_SETTINGS_MODULE: {{ .Values.osmchaApi.env.DJANGO_SETTINGS_MODULE | quote }}
OSMCHA_FRONTEND_VERSION: {{ .Values.osmchaApi.env.OSMCHA_FRONTEND_VERSION | quote }}
OAUTH_OSM_KEY: {{ .Values.osmchaApi.env.OAUTH_OSM_KEY | quote }}
OAUTH_OSM_SECRET: {{ .Values.osmchaApi.env.OAUTH_OSM_SECRET | quote }}
# OAUTH_OSM_KEY: {{ .Values.osmchaApi.env.OAUTH_OSM_KEY | quote }}
# OAUTH_OSM_SECRET: {{ .Values.osmchaApi.env.OAUTH_OSM_SECRET | quote }}
OAUTH_REDIRECT_URI: {{ .Values.osmchaApi.env.OAUTH_REDIRECT_URI | quote }}
DJANGO_SECURE_SSL_REDIRECT: "False"
DJANGO_DEBUG: "False"
Expand All @@ -30,14 +30,8 @@ data:
DJANGO_DEBUG: "False"
REDIS_URL: redis://osmcha-redis:6379
OSM_PLANET_BASE_URL: {{ .Values.osmchaApi.env.OSM_PLANET_BASE_URL | quote }}
# frontend
OSMCHA_URL: {{ .Values.osmchaApi.env.OSMCHA_URL | quote }}
OSMCHA_API_URL: {{ .Values.osmchaApi.env.OSMCHA_API_URL | quote }}
REACT_APP_OSM_URL: {{ .Values.osmchaApi.env.REACT_APP_OSM_URL | quote }}
REACT_APP_OSM_API: {{ .Values.osmchaApi.env.REACT_APP_OSM_API | quote }}
REACT_APP_OVERPASS_BASE: {{ .Values.osmchaApi.env.REACT_APP_OVERPASS_BASE | quote }}
REACT_APP_DISABLE_REAL_CHANGESETS: {{ .Values.osmchaApi.env.REACT_APP_DISABLE_REAL_CHANGESETS | quote }}
REACT_APP_MAPBOX_ACCESS_TOKEN: {{ .Values.osmchaApi.env.REACT_APP_MAPBOX_ACCESS_TOKEN | quote }}
OAUTH2_OSM_KEY: {{ quote .Values.osmchaApi.env.OAUTH2_OSM_KEY }}
OAUTH2_OSM_SECRET: {{ quote .Values.osmchaApi.env.OAUTH2_OSM_SECRET }}

Expand Down
14 changes: 7 additions & 7 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -857,20 +857,20 @@ osmchaApi:
OSMCHA_FRONTEND_VERSION: "v0.86.0-production"
DJANGO_SECRET_KEY: abc
## ohm
OAUTH_OSM_KEY: abc
OAUTH_OSM_SECRET: bdc
# OAUTH_OSM_KEY: abc
# OAUTH_OSM_SECRET: bdc
DJANGO_SECURE_SSL_REDIRECT: "False"
OSM_SERVER_URL: https://www.osmseed.org
OAUTH_REDIRECT_URI: https://osmcha-staging.osmseed.org/oauth-landing.html
OSM_PLANET_BASE_URL: https://s3.amazonaws.com/planet.osmseed.org/replication/changesets/
## frontend
OSMCHA_URL: https://osmcha-staging.osmseed.org
OSMCHA_API_URL: www.osmseed.org
REACT_APP_OSM_URL: https://www.osmseed.org
REACT_APP_OSM_API: https://www.osmseed.org/api/0.6
REACT_APP_OVERPASS_BASE: //overpass-api.osmseed.org/api/interpreter
REACT_APP_DISABLE_REAL_CHANGESETS: 1
REACT_APP_MAPBOX_ACCESS_TOKEN: "pk.abc.df"
# REACT_APP_OSM_URL: https://www.osmseed.org
# REACT_APP_OSM_API: https://www.osmseed.org/api/0.6
# REACT_APP_OVERPASS_BASE: //overpass-api.osmseed.org/api/interpreter
# REACT_APP_DISABLE_REAL_CHANGESETS: 1
# REACT_APP_MAPBOX_ACCESS_TOKEN: "pk.abc.df"
OAUTH2_OSM_KEY: abc
OAUTH2_OSM_SECRET: xyz
resources:
Expand Down

0 comments on commit 7b2b8f0

Please sign in to comment.