Skip to content

Commit

Permalink
peerpod-ctrl: Make undeploy depend on kustomize target
Browse files Browse the repository at this point in the history
the `undeploy` target is using the `KUSTOMIZE` binary, but it hasn't necessarily been created
so add the kustomize target to it that creates

Fixes: 1755
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
  • Loading branch information
stevenhorsman committed Mar 25, 2024
1 parent 2df4da2 commit 93ae704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peerpod-ctrl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in
$(KUSTOMIZE) build config/default | kubectl apply -f -

.PHONY: undeploy
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
undeploy: kustomize ## Undeploy controller 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/default | kubectl delete --ignore-not-found=$(ignore-not-found) -f -

##@ Build Dependencies
Expand Down

0 comments on commit 93ae704

Please sign in to comment.