clustername

This commit is contained in:
Danijel Simeunovic
2026-03-12 09:53:20 +01:00
parent b517a84990
commit 639278d485
2 changed files with 10 additions and 4 deletions

View File

@@ -31,10 +31,12 @@ ArgoCd()
{
# install argocd
echo "Installing ArgoCD..."
CLUSTER_NAME="${CLUSTER_NAME:-dev-fd-no-svg1}"
helm upgrade --install argocd argo-cd \
--repo https://argoproj.github.io/argo-helm \
--namespace argocd --create-namespace \
--values infra/values/argocd-values.yaml \
--set notifications.context.clusterName="$CLUSTER_NAME" \
--timeout 60s --atomic
kubectl apply -f _app-of-apps.yaml -n argocd