You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run make integration-suite, which creates it's own kind cluster and sets its own context.
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.
The text was updated successfully, but these errors were encountered:
astaticvoid
changed the title
Integration test does not retore original kubectl context
Integration test does not restore original kubectl context
Jul 11, 2022
To recreate:
make integration-suite
, which creates it's own kind cluster and sets its own context.make clean
then runmake install
again, you may get this error: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.The text was updated successfully, but these errors were encountered: