Files
home-cluster-ops/scripts/install-argocd.sh
2024-07-14 19:28:21 +10:00

7 lines
319 B
Bash

#!/bin/bash
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