fix: remove local hostpath and cilium lb vars and update k0s (#1261)

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-26 17:28:36 -05:00
1 parent 95b0e2b0d8
commit 4ac206aef5
11 files changed
+32 -56

No files matched your search

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
set -o noglob
[ $(id -u) -eq 0 ] || exec sudo $0 $@
# Remove containerd config
rm -rf /etc/k0s/containerd.d
# Remove local storage data
rm -rf /var/openebs/local
# Reboot
(sleep 10 && systemctl reboot)&