Skip to content

Commit

Permalink
fix(makefile): use ignore-not-found flag when deleting resources (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thuan Vo committed Sep 15, 2022
1 parent 05e8cd9 commit 78021e0
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 @@ -230,7 +230,7 @@ cert_manager: remove_cert_manager

.PHONY: remove_cert_manager
remove_cert_manager:
- $(CLUSTER_CLIENT) delete -f $(CERT_MANAGER_MANIFEST)
- $(CLUSTER_CLIENT) delete --ignore-not-found=$(ignore-not-found) -f $(CERT_MANAGER_MANIFEST)

.PHONY: check_cert_manager
check_cert_manager:
Expand Down Expand Up @@ -334,7 +334,7 @@ create_cryostat_cr: destroy_cryostat_cr
# Undeploy a Cryostat instance
.PHONY: destroy_cryostat_cr
destroy_cryostat_cr:
- $(CLUSTER_CLIENT) delete -f config/samples/operator_v1beta1_cryostat.yaml
- $(CLUSTER_CLIENT) delete --ignore-not-found=$(ignore-not-found) -f config/samples/operator_v1beta1_cryostat.yaml

# Build custom scorecard tests
.PHONY: custom-scorecard-tests
Expand Down

0 comments on commit 78021e0

Please sign in to comment.