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
|
run: generate fmt vet manifests
|
||||||
go run ./main.go
|
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 CRDs into a cluster
|
||||||
install: manifests kustomize
|
install: manifests kustomize
|
||||||
$(KUSTOMIZE) build config/crd | kubectl apply -f -
|
$(KUSTOMIZE) build config/crd | kubectl apply -f -
|
||||||
|
|
Loading…
Reference in New Issue