diff --git a/terraform/modules/k8s-cluster/templates/cluster-setup.sh b/terraform/modules/k8s-cluster/templates/cluster-setup.sh index ada2870..98aa709 100644 --- a/terraform/modules/k8s-cluster/templates/cluster-setup.sh +++ b/terraform/modules/k8s-cluster/templates/cluster-setup.sh @@ -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 ~} \ No newline at end of file