Skip to content

Commit b29f21c

Browse files
committed
Rename env var for oauth2 - osmcha
1 parent 6ba3da9 commit b29f21c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

osm-seed/templates/tasking-manager-api/tm-configMap.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ data:
4444
TM_REDIRECT_URI: {{ quote .Values.tmApi.env.TM_REDIRECT_URI | default "" }}
4545
TM_SCOPE: {{ quote .Values.tmApi.env.TM_SCOPE | default "" }}
4646
TM_APP_API_VERSION: {{ quote .Values.tmApi.env.TM_APP_API_VERSION | default "v2" }}
47-
SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_KEY: {{ quote .Values.tmApi.env.SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_KEY }}
48-
SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_SECRET: {{ quote .Values.tmApi.env.SOCIAL_AUTH_OPENSTREETMAP_OAUTH2_SECRET }}
49-
47+
OAUTH2_OSM_KEY: {{ quote .Values.tmApi.env.OAUTH2_OSM_KEY }}
48+
OAUTH2_OSM_SECRET: {{ quote .Values.tmApi.env.OAUTH2_OSM_SECRET }}
5049
{{- end }}

osm-seed/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,8 @@ osmchaApi:
871871
REACT_APP_OVERPASS_BASE: //overpass-api.osmseed.org/api/interpreter
872872
REACT_APP_DISABLE_REAL_CHANGESETS: 1
873873
REACT_APP_MAPBOX_ACCESS_TOKEN: "pk.abc.df"
874+
OAUTH2_OSM_KEY: abc
875+
OAUTH2_OSM_SECRET: xyz
874876
resources:
875877
enabled: false
876878
requests:

0 commit comments

Comments
 (0)