Skip to content

Commit

Permalink
chore: remove unncessary conditionals in make install target
Browse files Browse the repository at this point in the history
  • Loading branch information
dleard committed Jan 15, 2025
1 parent 2449ea8 commit 6e8b905
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e8b905

Please sign in to comment.