Skip to content

Commit

Permalink
Merge pull request #235 from DocShow-AI/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
liberty-rising authored Jan 21, 2024
2 parents f0d5308 + 2d31008 commit bb279e3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
5 changes: 5 additions & 0 deletions k8s/backend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ spec:
- configMapRef:
name: backend-config
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: db-credentials
key: DATABASE_URL
- name: DATABASE_POOL_URL
valueFrom:
secretKeyRef:
Expand Down
30 changes: 30 additions & 0 deletions k8s/migration-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,34 @@ spec:
secretKeyRef:
name: db-credentials
key: DATABASE_URL
- name: DATABASE_POOL_URL
valueFrom:
secretKeyRef:
name: db-credentials
key: DATABASE_POOL_URL
- name: OPENAI_API_KEY
valueFrom:
secretKeyRef:
name: openai-secret
key: OPENAI_API_KEY
- name: JWT_SECRET_KEY
valueFrom:
secretKeyRef:
name: jwt-secret
key: JWT_SECRET_KEY
- name: SENDGRID_API_KEY
valueFrom:
secretKeyRef:
name: sendgrid-api-key
key: SENDGRID_API_KEY
- name: SPACES_ACCESS_KEY
valueFrom:
secretKeyRef:
name: spaces-access-key
key: SPACES_ACCESS_KEY
- name: SPACES_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: spaces-secret-access-key
key: SPACES_SECRET_ACCESS_KEY
restartPolicy: OnFailure

0 comments on commit bb279e3

Please sign in to comment.