Skip to content

Commit

Permalink
Rename env var for oauth2 - osmcha
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Jan 29, 2025
1 parent 6ba3da9 commit b29f21c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions osm-seed/templates/tasking-manager-api/tm-configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ data:
TM_REDIRECT_URI: {{ quote .Values.tmApi.env.TM_REDIRECT_URI | default "" }}
TM_SCOPE: {{ quote .Values.tmApi.env.TM_SCOPE | default "" }}
TM_APP_API_VERSION: {{ quote .Values.tmApi.env.TM_APP_API_VERSION | default "v2" }}
SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_KEY: {{ quote .Values.tmApi.env.SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_KEY }}
SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_SECRET: {{ quote .Values.tmApi.env.SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_SECRET }}

OAUTH2_OSM_KEY: {{ quote .Values.tmApi.env.OAUTH2_OSM_KEY }}
OAUTH2_OSM_SECRET: {{ quote .Values.tmApi.env.OAUTH2_OSM_SECRET }}
{{- end }}
2 changes: 2 additions & 0 deletions osm-seed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,8 @@ osmchaApi:
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:
enabled: false
requests:
Expand Down

0 comments on commit b29f21c

Please sign in to comment.