diff --git a/cmd/kubebuilder/main.go b/cmd/kubebuilder/main.go index cd40c8fba0d..008d4f8c41c 100644 --- a/cmd/kubebuilder/main.go +++ b/cmd/kubebuilder/main.go @@ -100,6 +100,9 @@ More options: - run tests kubebuilder build generated + export TEST_ASSET_KUBECTL=/usr/local/kubebuilder/bin/kubectl + export TEST_ASSET_KUBE_APISERVER=/usr/local/kubebuilder/bin/kube-apiserver + export TEST_ASSET_ETCD=/usr/local/kubebuilder/bin/etcd go test ./pkg/... `, Example: `# Initialize your project