diff --git a/terraform/modules/k8s-cluster/templates/microk8s-setup.sh b/terraform/modules/k8s-cluster/templates/microk8s-setup.sh index 85064a0..83d2fe8 100644 --- a/terraform/modules/k8s-cluster/templates/microk8s-setup.sh +++ b/terraform/modules/k8s-cluster/templates/microk8s-setup.sh @@ -1,7 +1,6 @@ #!/bin/sh -mkdir -p /var/snap/microk8s/common/etc/launcher -cp /run/tmpfiles.d/microk8s.yaml /var/snap/microk8s/common/etc/launcher/microk8s.yaml +cp /run/tmpfiles.d/microk8s.yaml /etc/microk8s.yaml %{ if !main_node ~} sleep 120 %{ endif ~}