ci: deploy.yaml 添加 DJANGO_SECRET_KEY/DB 密钥引用
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m18s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m18s
K8s Secret 新增 DJANGO_SECRET_KEY、DB_HOST、DB_USER、DB_PASSWORD, 配合 backend-deployment.yaml 中的 secretKeyRef 使用。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d9a12af078
commit
6053c9b987
@ -66,6 +66,10 @@ jobs:
|
||||
--from-literal=ARK_API_KEY=${{ secrets.ARK_API_KEY }} \
|
||||
--from-literal=TOS_ACCESS_KEY=${{ secrets.TOS_ACCESS_KEY }} \
|
||||
--from-literal=TOS_SECRET_KEY=${{ secrets.TOS_SECRET_KEY }} \
|
||||
--from-literal=DJANGO_SECRET_KEY=${{ secrets.DJANGO_SECRET_KEY }} \
|
||||
--from-literal=DB_HOST=${{ secrets.DB_HOST }} \
|
||||
--from-literal=DB_USER=${{ secrets.DB_USER }} \
|
||||
--from-literal=DB_PASSWORD=${{ secrets.DB_PASSWORD }} \
|
||||
--dry-run=client -o yaml | kubectl apply -f -
|
||||
|
||||
- name: Apply K8s Manifests
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user