fix: create namespace before applying k8s manifests
All checks were successful
CI/CD Pipeline / build (push) Successful in 1m32s
CI/CD Pipeline / deploy (push) Successful in 2m10s

This commit is contained in:
2026-04-14 22:03:09 +02:00
parent 559547fbdf
commit 518422a5aa

View File

@@ -69,6 +69,7 @@ jobs:
- name: Deploy na k3s
run: |
kubectl apply -f k8s/
kubectl create namespace student-${{ github.actor }} --dry-run=client -o yaml | kubectl apply -f -
kubectl apply -f k8s/ -n student-${{ github.actor }}
kubectl rollout status deployment/hello-cicd \
-n student-${{ github.actor }} --timeout=120s