From 3a424d359f399bfe9cb403c84f8cf1c654f883b1 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Sat, 4 Nov 2023 20:33:30 +0100 Subject: [PATCH] Fix commands for helm --- terraform/modules/k8s-cluster/templates/cluster-setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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