Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration test does not restore original kubectl context #135

Open
fredjywang opened this issue May 19, 2022 · 0 comments
Open

Integration test does not restore original kubectl context #135

fredjywang opened this issue May 19, 2022 · 0 comments
Milestone

Comments

@fredjywang
Copy link
Contributor

To recreate:

  1. Set up cluster according to CONTRIBUTING.md docs.
  2. Run make integration-suite, which creates it's own kind cluster and sets its own context.
  3. After a successful integration test, if you make clean then run make install again, you may get this error:
The connection to the server localhost:8080 was refused - did you specify the right host or port?

Can fix by resetting kubectl context with kind export kubeconfig --name my-cluster, but may be beneficial for integration to reset kubectl context for user.

@astaticvoid astaticvoid added this to the 0.2.x milestone Jun 8, 2022
@astaticvoid astaticvoid changed the title Integration test does not retore original kubectl context Integration test does not restore original kubectl context Jul 11, 2022
@runakash runakash modified the milestones: 0.2.x, 0.3.0, 0.4.0 Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants