Fix commands for helm

This commit is contained in:
2023-11-04 20:33:30 +01:00
parent 9b616faae5
commit 3a424d359f
@@ -1,9 +1,9 @@
#!/bin/sh
helm repo add 2martens https://repo.2martens.de/charts/
helm install setup 2martens/cluster_setup --values /run/tmpfiles.d/cluster-setup-values.yaml
microk8s helm repo add 2martens https://repo.2martens.de/charts/
microk8s helm install setup 2martens/cluster_setup --values /run/tmpfiles.d/cluster-setup-values.yaml
%{ if high_availability ~}
helm install argocd 2martens/argocd --set environment=${argocd_environment} --values /run/tmpfiles.d/argocd-values-ha.yaml
microk8s helm install argocd 2martens/argocd --set environment=${argocd_environment} --values /run/tmpfiles.d/argocd-values-ha.yaml
%{ else ~}
helm install argocd 2martens/argocd --set environment=${argocd_environment}
microk8s helm install argocd 2martens/argocd --set environment=${argocd_environment}
%{ endif ~}