Skip to content

Commit

Permalink
Let's try this
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanHilt committed Aug 21, 2024
1 parent aeeb1ca commit 74863ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gen3/bin/kube-setup-argocd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ force=false

for arg in "${@}"; do
if [ "$arg" == "--force" ] || [ "$arg" == "-f" ]; then
force=false
force=true
else
gen3_log_info "Usage: gen3 kube-setup-argocd [--force/-f]"
exit 1
fi

if [g3kubectl get namespace argocd > /dev/null 2>&1;] ||
if [g3kubectl get namespace argocd > /dev/null 2>&1;] || [ "$force" == true ]
then
gen3_log_info "ArgoCD is already deployed. Skipping..."
else
Expand Down

0 comments on commit 74863ae

Please sign in to comment.