Skip to content

Commit

Permalink
add '-n' to kubectl to pod deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
sqr authored Feb 26, 2024
1 parent c4bd85e commit bd18099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ jobs:
- name: Deploy pod to k3s
if: always()
run: |
kubectl create ns app
kubectl apply -f ./k3s/pod.yaml
# kubectl create ns app
kubectl apply -f ./k3s/pod.yaml -n app
kubectl -n app wait --for=condition=Ready pod/cg
kubectl get pods -n app
Expand Down

0 comments on commit bd18099

Please sign in to comment.