k8s: REGION in config.env; the no-public-address warning names --announce

REGION (place names or geohashes, comma separated) is passed to the node by the StatefulSet script, which now builds its arguments with set -- so a region is optional and PUBLIC_HOST must be set. The warning for a --public node without a public address now says which case it is (no --announce, or one that is not reachable) and the flag that fixes it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
2026-11-18 23:37:55 +01:00
co-authored by Claude Sonnet 5.5
parent 4e7cbd3dbd
commit 803202e94e
6 changed files with 80 additions and 8 deletions
+9
View File
@@ -6,3 +6,12 @@ PUBLIC_HOST=bootstrap.allmende.stinnesbeck.com
# The port your router forwards to the cluster, as seen from the internet
# (TCP and UDP). Keep it 4001 unless the router cannot forward it.
PUBLIC_PORT=4001
# The regions this node keeps listings for: a place name or a 3-character
# geohash, several separated by commas (REGION=mechernich or REGION=u1h,u0u).
# Empty (the default) follows none: it then only helps others connect.
# It is the starting value: once the owner chooses regions in the browser, those
# are kept on the volume and win over this (delete /data/regions.json to use
# this again). Changing this file restarts the pod, because the ConfigMap name
# changes with its content.
REGION=