add debug
This commit is contained in:
parent
a5c5e85f2a
commit
f734443207
4
Makefile
4
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 -
|
||||
|
|
Loading…
Reference in New Issue