Skip to content

Commit

Permalink
Add sudo to microk8s
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k committed Nov 17, 2023
1 parent 553dae0 commit 65389d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/full-bundle-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,11 @@ jobs:
charmcraft-channel: latest/candidate
microk8s-addons: ${{ steps.dns-name.outputs.MY_ADDONS }}

- name: Configure .kube/config
- name: Wait for microk8s to be ready and configure .kube/config
run: |
sudo microk8s status --wait-ready --timeout 150
sg microk8s -c "mkdir -p ~/.kube"
sg microk8s -c "microk8s config > ~/.kube/config"
sudo microk8s config > ~/.kube/config
- name: Show all pods status
run: |
Expand Down

0 comments on commit 65389d2

Please sign in to comment.