Skip to content

Commit

Permalink
Merge pull request #395 from kannon92/fix-install-uninstall
Browse files Browse the repository at this point in the history
Install and Uninstall should use config/components/crd
  • Loading branch information
k8s-ci-robot committed Sep 16, 2022
2 parents 5bc5dbb + 92883d0 commit 83cc37f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ clean-manifests = (cd config/components/manager && $(KUSTOMIZE) edit set image c

.PHONY: install
install: manifests kustomize ## Install CRDs into the K8s cluster specified in ~/.kube/config.
$(KUSTOMIZE) build config/crd | kubectl apply -f -
$(KUSTOMIZE) build config/components/crd | kubectl apply -f -

.PHONY: uninstall
uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
$(KUSTOMIZE) build config/crd | kubectl delete --ignore-not-found=$(ignore-not-found) -f -
$(KUSTOMIZE) build config/components/crd | kubectl delete --ignore-not-found=$(ignore-not-found) -f -

.PHONY: deploy
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
Expand Down

0 comments on commit 83cc37f

Please sign in to comment.