@@ -1,10 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
kubectl apply -k "https://github.com/argoproj/argo-cd/manifests/crds?ref=v2.11.4"
|
||||||
kubectl create namespace argocd || echo "Namespace argocd already exists"
|
kubectl create namespace argocd || echo "Namespace argocd already exists"
|
||||||
helm template argocd \
|
helm repo add argo https://argoproj.github.io/argo-helm || echo "Argo repo already exists"
|
||||||
oci://ghcr.io/argoproj/argo-helm/argo-cd \
|
helm repo update || echo "Failed to update helm repos"
|
||||||
--version 7.3.6 \
|
helm install argocd -n argocd -f argocd-values.yaml argo/argo-cd --version 7.3.6
|
||||||
--release-name argocd \
|
|
||||||
--api-versions monitoring.coreos.com/v1 \
|
|
||||||
--values argocd-values.yaml
|
|
||||||
Reference in New Issue
Block a user