From 190302e17308ae6461cce3c5793adafec38a73cb Mon Sep 17 00:00:00 2001 From: Drew Minnear Date: Wed, 1 Oct 2025 11:56:30 -0400 Subject: [PATCH] add targets for validate-schema, argo-healthcheck and uninstall --- resources/Makefile-common | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/resources/Makefile-common b/resources/Makefile-common index bf92a72..537ca88 100644 --- a/resources/Makefile-common +++ b/resources/Makefile-common @@ -20,6 +20,10 @@ operator-deploy operator-upgrade: ## Installs/updates the pattern on a cluster ( .PHONY: install install: pattern-install ## Installs the pattern onto a cluster (Loads secrets as well if configured) +.PHONY: uninstall ## Prints a notice that patterns cannot currently be uninstalled +uninstall: + @echo "Uninstall is not possible at the moment so this target is empty. We are working to implement it as well as we can." + .PHONY: pattern-install pattern-install: @$(ANSIBLE_RUN) rhvp.cluster_utils.install @@ -40,3 +44,11 @@ validate-origin: ## verify the git origin is available .PHONY: validate-cluster validate-cluster: ## Do some cluster validations before installing @$(ANSIBLE_RUN) rhvp.cluster_utils.validate_cluster + +.PHONY: validate-schema +validate-schema: ## validates values files against schema in common/clustergroup + @$(ANSIBLE_RUN) rhvp.cluster_utils.validate_schema + +.PHONY: argo-healthcheck +argo-healthcheck: ## Checks if all argo applications are synced + @$(ANSIBLE_RUN) rhvp.cluster_utils.argo_healthcheck