commit
2d063b6ad5
4
Makefile
4
Makefile
|
@ -57,6 +57,10 @@ deploy: manifests kustomize
|
|||
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
|
||||
$(KUSTOMIZE) build config/default | kubectl apply -f -
|
||||
|
||||
# clean up crd & controller in the configured Kubernetes cluster in ~/.kube/config
|
||||
delete: manifests kustomize
|
||||
$(KUSTOMIZE) build config/default | kubectl delete -f -
|
||||
|
||||
# Generate manifests e.g. CRD, RBAC etc.
|
||||
manifests: controller-gen
|
||||
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
|
||||
|
|
Loading…
Reference in New Issue