From @mandarjog (here: #5329 (review))
Following the request for e2e tests:
- additionally consider an option that defaults to operating on kind clusters only (can be overridden) and requires context to be passed in.
- Using the default context in kubeconfig is also dangerous as someone an inadvertently change the context while the test is running.