-
Notifications
You must be signed in to change notification settings - Fork 368
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always run antctl in Pod for e2e tests (#5349)
* Always run antctl in Pod for e2e tests Instead of copying the antctl binary to the Node. This simplifies tests in the following ways: * No need to generate a Kubeconfig using the kube-system/antctl ServiceAccount token. Instead we define a ServiceAccount in the test Namepace, bind the antctl ClusterRole to it, and use it for the antctl Pod. * No need to use different antctl binary paths for Kind and VMs. * Easier lifecyle management when running antctl proxy. We also remove the assumption that curl is available on the control-plane Node. Signed-off-by: Antonin Bas <[email protected]>
- Loading branch information
1 parent
49638ef
commit ceb8c25
Showing
8 changed files
with
280 additions
and
326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.