Only copy launch configuration so it is available later for debug purposes

This commit is contained in:
2023-11-04 16:45:06 +01:00
parent 95a4454f3c
commit 58f4f676af
@@ -47,7 +47,7 @@ runcmd:
- apt-get -y install snapd
- snap install kubectl --classic
- mkdir -p /var/snap/microk8s/common
- mv /tmp/.microk8s.yaml /var/snap/microk8s/common/.microk8s.yaml
- cp /tmp/.microk8s.yaml /var/snap/microk8s/common/.microk8s.yaml
- snap install microk8s --channel "${microk8s_channel}"
- mkdir -p /home/terraform/.kube
- microk8s kubectl config view --raw > /home/terraform/.kube/config