Skip to content

Commit

Permalink
remove failing kubectl auth assertion (#71)
Browse files Browse the repository at this point in the history
Closes #51.
  • Loading branch information
lucabello authored and addyess committed Mar 15, 2024
1 parent df660b2 commit c056d0c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion dist/bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5629,7 +5629,6 @@ function microk8s_init(channel, addons, container_registry_url) {
yield exec_as_microk8s("microk8s kubectl delete serviceaccount test-sa");
}
yield retry_until_rc("microk8s kubectl auth can-i create pods");
yield retry_until_rc("microk8s kubectl auth can-i create pods --as=me", 1);
return true;
});
}
Expand Down
1 change: 0 additions & 1 deletion src/bootstrap/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ async function microk8s_init(channel, addons, container_registry_url:string) {
}

await retry_until_rc("microk8s kubectl auth can-i create pods")
await retry_until_rc("microk8s kubectl auth can-i create pods --as=me", 1)
return true;
}

Expand Down

0 comments on commit c056d0c

Please sign in to comment.