From 6e8b905e4f69478d616099e35e0d7261c186b6b7 Mon Sep 17 00:00:00 2001 From: Dylan Leard Date: Wed, 15 Jan 2025 14:57:38 -0800 Subject: [PATCH] chore: remove unncessary conditionals in make install target --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 4e9032fc0..c7614ff4e 100644 --- a/Makefile +++ b/Makefile @@ -246,14 +246,7 @@ install: @set -euo pipefail; \ dagConfig=$$(echo '{"org": "bcgov", "repo": "cas-cif", "ref": "$(GIT_SHA1)", "path": "dags/cas_cif_dags.py"}' | base64 -w0); \ helm dep up $(CHART_DIR); \ - if ! helm status --namespace $(NAMESPACE) $(CHART_INSTANCE); then \ - echo 'Installing the application and issuing SSL certificate'; \ - helm install $(HELM_OPTS) $(CHART_INSTANCE) $(CHART_DIR); \ - elif [ $(ISSUE_CERT) ]; then \ - helm upgrade $(HELM_OPTS) $(CHART_INSTANCE) $(CHART_DIR); \ - else \ - helm upgrade $(HELM_OPTS) $(CHART_INSTANCE) $(CHART_DIR); \ - fi; + helm install $(HELM_OPTS) $(CHART_INSTANCE) $(CHART_DIR); restore_prereq: ## Prerequisites for the restore target