mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-17 21:32:36 +01:00
Add OAuth env vars to API Server deployment (#1500)
* Add oauth vars to the kubernetes api server deployment * Add example google oauth id and secret to kubernetes secrets
This commit is contained in:
parent
e1d8b88318
commit
5f2737f9ee
@ -41,6 +41,17 @@ spec:
|
||||
- containerPort: 8080
|
||||
# There are some extra values since this is shared between services
|
||||
# There are no conflicts though, extra env variables are simply ignored
|
||||
env:
|
||||
- name: OAUTH_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: danswer-secrets
|
||||
key: google_oauth_client_id
|
||||
- name: OAUTH_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: danswer-secrets
|
||||
key: google_oauth_client_secret
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: env-configmap
|
||||
|
@ -7,5 +7,5 @@ type: Opaque
|
||||
data:
|
||||
postgres_user: cG9zdGdyZXM= # "postgres" base64 encoded
|
||||
postgres_password: cGFzc3dvcmQ= # "password" base64 encoded
|
||||
google_oauth_client_id: # You will need to provide this, use echo -n "your-client-id" | base64
|
||||
google_oauth_client_secret: # You will need to provide this, use echo -n "your-client-id" | base64
|
||||
google_oauth_client_id: ZXhhbXBsZS1jbGllbnQtaWQ= # "example-client-id" base64 encoded. You will need to provide this, use echo -n "your-client-id" | base64
|
||||
google_oauth_client_secret: example_google_oauth_secret # "example-client-secret" base64 encoded. You will need to provide this, use echo -n "your-client-id" | base64
|
||||
|
Loading…
x
Reference in New Issue
Block a user