diff --git a/Makefile b/Makefile index 1b1c494..c33761b 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,10 @@ manager: generate fmt vet run: generate fmt vet manifests go run ./main.go +debug: generate fmt vet manifests + go build -gcflags="all=-N -l" ./main.go + ENABLE_WEBHOOKS=false dlv --listen=:2345 --headless=true --api-version=2 --accept-multiclient exec main + # Install CRDs into a cluster install: manifests kustomize $(KUSTOMIZE) build config/crd | kubectl apply -f -