From 1b1ac2d15b515e967f06b3a69fa1c1c67eb89da8 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Fri, 19 Dec 2025 16:44:20 -0600 Subject: [PATCH] fix: bootstrap script for ArgoCD did not work The script was not executable. The --create-namespace flag did not work and we needed to create the namespace ahead of time. The helm repo was referenced incorrectly. --- bootstrap/argocd.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 bootstrap/argocd.sh diff --git a/bootstrap/argocd.sh b/bootstrap/argocd.sh old mode 100644 new mode 100755 index b266b1d24..1aec392f4 --- a/bootstrap/argocd.sh +++ b/bootstrap/argocd.sh @@ -10,8 +10,10 @@ argocd_rev=$(cat "${thisdir}/../apps/appsets/argocd/appset-argocd.yaml" | yq -r helm repo add argo "${argocd_repo}" helm repo update argo -helm template argo-cd argo-cd \ +kubectl create ns argocd + +helm template argo/argo-cd \ --version "${argocd_rev}" \ - --create-namespace \ + --namespace argocd \ -f "${thisdir}/../components/argocd/values.yaml" \ | kubectl -n argocd apply -f -