operator-sdk
operator-sdk copied to clipboard
go test ./... may break the current cluster set on kubeconfig
Bug Report
What did you do?
After the project bootstrap using operator-sdk, the directory test/e2e is created, if you run a go test ./... you may lose cert-manager and prometheus-operator on the current cluster set on kubeconfig.
What did you expect to see?
I think that is a accident, but we might prevent similar situations from happening to others. go test ./... should not trigger the e2e tests, we should use a environment variable to trigger e2e tests just on Makefile