* feat: update kube-vip ansible playbook for k0s and k3s Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update renovate Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: move ipv6 to advanced options Signed-off-by: Devin Buhl <devin@buhl.casa> * feat: kube-vip manifests to partials Signed-off-by: Devin Buhl <devin@buhl.casa> * feat: kube vip samesies Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update config sample Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
17 lines
358 B
Django/Jinja
Executable File
17 lines
358 B
Django/Jinja
Executable File
#% if bootstrap_distribution in ['k0s'] %#
|
|
#!/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 "#{ bootstrap_advanced_flags.local_storage_path|default('/var/openebs/local', true) }#"
|
|
|
|
# Reboot
|
|
(sleep 10 && systemctl reboot)&
|
|
#% endif %#
|