Install argocd in argocd namespace

This commit is contained in:
2023-11-04 22:47:04 +01:00
parent 654cee645d
commit 82fcbafeeb
@@ -7,7 +7,7 @@ done
/snap/bin/microk8s.helm3 repo add 2martens https://repo.2martens.de/charts/
/snap/bin/microk8s.helm3 install setup 2martens/cluster_setup --values /run/tmpfiles.d/cluster-setup-values.yaml
%{ if high_availability ~}
/snap/bin/microk8s.helm3 install argocd 2martens/argocd --set environment=${argocd_environment} --values /run/tmpfiles.d/argocd-values-ha.yaml
/snap/bin/microk8s.helm3 install argocd 2martens/argocd --create-namespace -n argocd --set environment=${argocd_environment} --values /run/tmpfiles.d/argocd-values-ha.yaml
%{ else ~}
/snap/bin/microk8s.helm3 install argocd 2martens/argocd --set environment=${argocd_environment}
/snap/bin/microk8s.helm3 install argocd 2martens/argocd --create-namespace -n argocd --set environment=${argocd_environment}
%{ endif ~}