From 945d1b4a716fcb21fe10f2d5f90a718f2074e599 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sun, 14 Jul 2024 19:34:55 +1000 Subject: [PATCH 1/2] update script --- scripts/install-argocd.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/install-argocd.sh b/scripts/install-argocd.sh index 95925a2..9708b95 100644 --- a/scripts/install-argocd.sh +++ b/scripts/install-argocd.sh @@ -2,6 +2,7 @@ set -e kubectl create namespace argocd || echo "Namespace argocd already exists" -helm repo add argo https://argoproj.github.io/argo-helm || echo "Argo repo already exists" -helm repo update || echo "Failed to update helm repos" -helm install argocd -n argocd -f argocd-values.yaml argo/argocd --version 7.3.6 \ No newline at end of file +helm template argocd \ + oci://ghcr.io/argoproj/argo-helm/argo-cd \ + --api-versions monitoring.coreos.com/v1 \ + --values argocd-values.yaml \ No newline at end of file From 1f0c2809ac8ccdfac84e62ec97aebbe9aa049ea2 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Sun, 14 Jul 2024 19:37:43 +1000 Subject: [PATCH 2/2] update script --- scripts/install-argocd.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install-argocd.sh b/scripts/install-argocd.sh index 9708b95..9429426 100644 --- a/scripts/install-argocd.sh +++ b/scripts/install-argocd.sh @@ -4,5 +4,7 @@ set -e kubectl create namespace argocd || echo "Namespace argocd already exists" helm template argocd \ oci://ghcr.io/argoproj/argo-helm/argo-cd \ + --version: 7.3.6 \ + --release-name argocd \ --api-versions monitoring.coreos.com/v1 \ --values argocd-values.yaml \ No newline at end of file