Skip to content

Commit 1cfb6fe

Browse files
committed
Fix secret key names in Kubernetes deployment workflow
1 parent cd4e937 commit 1cfb6fe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ jobs:
5656
- name: Apply Secrets
5757
run: |
5858
kubectl create secret generic mongo-secrets \
59-
--from-literal=uri="${{ secrets.MONGO_URI }}" \
60-
--from-literal=username="${{ secrets.MONGO_USERNAME }}" \
61-
--from-literal=password="${{ secrets.MONGO_PASSWORD }}" \
59+
--from-literal=MONGO_URI="${{ secrets.MONGO_URI }}" \
60+
--from-literal=MONGO_USERNAME="${{ secrets.MONGO_USERNAME }}" \
61+
--from-literal=MONGO_PASSWORD="${{ secrets.MONGO_PASSWORD }}" \
6262
-n ${{ inputs.app_namespace }} --dry-run=client -o yaml | kubectl apply -f -
6363
6464
65+
6566
- name: Deploy ArgoCD Applications
6667
run: |
6768
export APP_NAME=${{ inputs.app_name }}

0 commit comments

Comments
 (0)