Skip to content

Commit

Permalink
Merge pull request #459 from sparcs-kaist/fix/secret
Browse files Browse the repository at this point in the history
Add celery environ
  • Loading branch information
DoyunShin authored Mar 13, 2024
2 parents e285e1c + f71a609 commit 09ed49b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions deployment/base/celery/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,34 @@ spec:
- name: ara-celery
image: 666583083672.dkr.ecr.ap-northeast-2.amazonaws.com/newara:v3.4.3
command: ["/newara/www/.docker/run-celery.sh"]
envFrom:
- secretRef:
name: ara-secret
env:
- name: SSO_CLIENT_ID
valueFrom:
configMapKeyRef:
name: ara-env
key: SSO_CLIENT_ID
- name: DJANGO_ENV
valueFrom:
configMapKeyRef:
name: ara-env
key: DJANGO_ENV
- name: AWS_BUCKET_NAME
valueFrom:
configMapKeyRef:
name: ara-env
key: AWS_BUCKET_NAME
- name: AWS_BUCKET_NAME_STATIC
valueFrom:
configMapKeyRef:
name: ara-env
key: AWS_BUCKET_NAME_STATIC
- name: AWS_ACCESS_KEY_ID
valueFrom:
configMapKeyRef:
name: ara-env
key: AWS_ACCESS_KEY_ID
- name: NEWARA_REDIS_ADDRESS
value: "ara-redis-service"

0 comments on commit 09ed49b

Please sign in to comment.