From 96623200fa437c4cb3a2031661d485e6c0b3f230 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Thu, 12 Nov 2026 01:38:58 +0900 Subject: [PATCH] feat(host): keep the k3s nodeport-loopback drop-in in the repository /etc/rancher/k3s/config.yaml.d/30-nodeport-loopback.yaml keeps Traefik's NodePorts on 127.0.0.0/8 so the LAN cannot bypass Host Nginx. The Traefik README and validator depend on it, but the file itself was only on the host, so a rebuilt host would not get it. Add the live content as is (kube-proxy-arg nodeport-addresses). The host-rebuild and datastore-restore runbooks install it. Risk: none; nothing installs it automatically. Verification: the file is byte-for-byte the live drop-in (ssh desktop cat ...); 40-secrets-encryption.yaml in the repository already matches the host. --- infrastructure/host/k3s/config.yaml.d/30-nodeport-loopback.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 infrastructure/host/k3s/config.yaml.d/30-nodeport-loopback.yaml diff --git a/infrastructure/host/k3s/config.yaml.d/30-nodeport-loopback.yaml b/infrastructure/host/k3s/config.yaml.d/30-nodeport-loopback.yaml new file mode 100644 index 0000000..453264d --- /dev/null +++ b/infrastructure/host/k3s/config.yaml.d/30-nodeport-loopback.yaml @@ -0,0 +1,2 @@ +kube-proxy-arg: + - "nodeport-addresses=127.0.0.0/8"