Skip to content

Commit

Permalink
Merge pull request #35 from Rikthepixel/fix/kubernetes-deployment
Browse files Browse the repository at this point in the history
Fix microservice deployment by deleting the secrets in seperate steps
  • Loading branch information
Rikthepixel authored Jan 10, 2024
2 parents a064b4d + e0e2e6f commit e1a7071
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release-microservices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,15 @@ jobs:
resource-group: ${{ vars.AZURE_RESOURCE_GROUP }}
cluster-name: ${{ vars.AZURE_CLUSTER_NAME }}

- name: Delete secrets
- name: Delete gateway secrets
continue-on-error: true
run: |
kubectl delete secret gateway-secrets 2> /dev/null
kubectl delete secret account-service-secrets 2> /dev/null
kubectl delete secret advertisement-service-secrets 2> /dev/null
run: kubectl delete secret gateway-secrets
- name: Delete accounts secrets
continue-on-error: true
run: kubectl delete secret account-service-secrets
- name: Delete advertisements secrets
continue-on-error: true
run: kubectl delete secret advertisement-service-secrets

- name: Set secrets
run: |
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Backend
VITE_BACKEND_URL=http://sq.api.rikdenbreejen.nl
VITE_BACKEND_URL=http://localhost:8080

# Auth
VITE_AUTH_DOMAIN_URL=https://square-market.eu.auth0.com
Expand Down

0 comments on commit e1a7071

Please sign in to comment.