Update to v1.32

This commit is contained in:
Guillaume
2025-11-02 18:31:13 +01:00
parent 09e63cf400
commit de5971961c
43 changed files with 9492 additions and 1426 deletions

View File

@ -49,12 +49,6 @@ prereqs() {
source scripts/vars
}
check_conf() {
all_clusters=$(ls $ctxdir/clusters|wc -l)
if [ "$all_clusters" != "1" ]; then
perror "Those helper scripts are not capable of running several clusters at once, check your configuration. Aborting..."
fi
}
fresh_start() {
rm -rf $ctxdir/secrets

View File

@ -4,7 +4,6 @@
prereqs_dls() {
command -v docker 1>/dev/null || perror "Docker is needed, please install it and run again."
systemctl is-active docker &>/dev/null || systemctl start docker
docker pull $DLS_IMG
}
dir2config() {

View File

@ -60,7 +60,6 @@ run_qemu() {
source $(dirname $0)/.common
check_root
prereqs
check_conf
#fresh_start
trap clean SIGINT SIGTERM SIGKILL
declare -A hosts

View File

@ -40,8 +40,8 @@ checkup() {
start_control_plane() {
for host in ${!hosts[*]}; do
sshcmd -q root@${hosts[$host]} << EOF
if ls /etc/kubernetes/manifests.static/* &>/dev/null ; then
mv /etc/kubernetes/manifests.static/* /var/lib/kubelet/manifests/
if ls /etc/kubernetes/manifests.bootstrap/* &>/dev/null ; then
mv /etc/kubernetes/manifests.bootstrap/* /var/lib/kubelet/manifests/
fi
EOF
done
@ -94,7 +94,6 @@ source $(dirname $0)/.common
prereqs
prereqs_control_plane
prereqs_addons
check_conf
unlock_store
declare -A hosts && get_hosts
checkup