fix: create namespace before applying k8s manifests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user