From b7e34236db0a8375728fe20335b57e824fd18864 Mon Sep 17 00:00:00 2001 From: CTO Date: Sun, 6 Sep 2026 01:04:35 +0000 Subject: [PATCH] fix(os-update): add k3s-worker-6 to SSH target maps (DEV-566) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit k3s-worker-6 was joined on 2026-08-30 but never added to the node_ssh_target case in update-node.sh, so the weekly cycle would die with 'unknown node k3s-worker-6' as soon as it reached that node. Map it to its public IP (49.12.223.133) — same pattern as worker-3/4/5. Also add the corresponding case in os-update.sh's apt-history digest. Co-Authored-By: Paperclip --- infrastructure/scripts/os-update/os-update.sh | 1 + infrastructure/scripts/os-update/update-node.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/infrastructure/scripts/os-update/os-update.sh b/infrastructure/scripts/os-update/os-update.sh index 042e578..21b4e02 100755 --- a/infrastructure/scripts/os-update/os-update.sh +++ b/infrastructure/scripts/os-update/os-update.sh @@ -308,6 +308,7 @@ log "[final] apt history digest" k3s-worker-3) t="root@167.233.121.121" ;; k3s-worker-4) t="root@128.140.3.80" ;; k3s-worker-5) t="root@167.233.192.86" ;; + k3s-worker-6) t="root@49.12.223.133" ;; k3s-update-runner) t="root@167.233.79.65" ;; *) echo " (unknown ssh target)"; continue ;; esac diff --git a/infrastructure/scripts/os-update/update-node.sh b/infrastructure/scripts/os-update/update-node.sh index c8837f7..d72ee64 100755 --- a/infrastructure/scripts/os-update/update-node.sh +++ b/infrastructure/scripts/os-update/update-node.sh @@ -44,6 +44,7 @@ node_ssh_target() { k3s-worker-3) echo "root@167.233.121.121" ;; k3s-worker-4) echo "root@128.140.3.80" ;; k3s-worker-5) echo "root@167.233.192.86" ;; + k3s-worker-6) echo "root@49.12.223.133" ;; k3s-update-runner) echo "root@167.233.79.65" ;; *) die "unknown node $1 — update node_ssh_target() in $0" ;; esac