operator-sdk icon indicating copy to clipboard operation
operator-sdk copied to clipboard

go test ./... may break the current cluster set on kubeconfig

Open wpjunior opened this issue 1 year ago • 1 comments

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

wpjunior avatar Aug 02 '24 17:08 wpjunior