diff --git a/Makefile b/Makefile index 97c90400f..34f0647d2 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ manager: generate fmt vet # Run against the configured Kubernetes cluster in ~/.kube/config run: generate fmt vet manifests - go run ./main.go + ENABLE_WEBHOOKS=false go run ./main.go # Install CRDs into a cluster install: manifests kustomize crd diff --git a/README.md b/README.md index b76567817..60f99fe2b 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ git clone https://github.com/streamnative/function-mesh.git - install operator-sdk and use it to add CRD, controller or webhooks ```bash -operator-sdk create api --group compute --version v1alpha1 --kind Function --resource=true --controller-true +operator-sdk create api --group compute --version v1alpha1 --kind Function --resource=true --controller=true ``` ```bash