Skip to content

Commit

Permalink
Update API and frontend to use OAuth2 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel authored May 30, 2024
1 parent 9fbac76 commit 685f409
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions helm/osmcha/templates/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,18 @@ spec:
key: django_secret_key
- name: DJANGO_SETTINGS_MODULE
value: "config.settings.production"
- name: OAUTH_OSM_KEY
- name: OAUTH2_OSM_KEY
valueFrom:
secretKeyRef:
name: osm-app-credentials
key: access_key
- name: OAUTH_OSM_SECRET
- name: OAUTH2_OSM_SECRET
valueFrom:
secretKeyRef:
name: osm-app-credentials
key: secret_key
- name: OAUTH_REDIRECT_URI
value: "https://{{ .Values.app.host }}/oauth-landing.html"
value: "https://{{ .Values.app.host }}/authorized"
- name: REDIS_URL
value: {{ .Values.app.api.redis_url }}
- name: DJANGO_SECURE_SSL_REDIRECT
Expand Down
4 changes: 2 additions & 2 deletions helm/osmcha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ app:
api:
image:
repository: ghcr.io/osmcha/osmcha-django
tag: 53e1ed14ef5ea7ddf4244d9de4bcb85153f83a4e
tag: 680789c59068696484a4973c3f2377a11341385f
resources:
requests:
memory: "2G"
Expand All @@ -35,7 +35,7 @@ app:
nodeSelector: {}
image:
repository: ghcr.io/osmcha/osmcha-frontend
tag: 01e53b22aa517f0a6e09452d3155fd6c78e4eb65
tag: 0c875813358ccf19231e50038b8e8a5e6c98b280

# Nginx config - templates/config-map.yaml
nginxConfig:
Expand Down

0 comments on commit 685f409

Please sign in to comment.