Public: anyone can read this; nobody can change it.
deploy/azure: bake the public IP into node.env (#123) #124
Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.
Azure IMDS leaves publicIpAddress empty for Standard-SKU IPs, so the k3s cert never got its public-IP SAN. The static IP is known at render time — the vm resource now inlines it into node.env (var loops can't touch runtime values), and the script treats the env as authoritative with the metadata probe as fallback.
shipped merged
Sign in to join this conversation.
new above
offline
Azure IMDS leaves publicIpAddress empty for Standard-SKU IPs, so the k3s cert never got its public-IP SAN. The static IP is known at render time — the vm resource now inlines it into node.env (var loops can't touch runtime values), and the script treats the env as authoritative with the metadata probe as fallback.
Fixes #123. A real Azure deployment confirmed the empty-IMDS path (the pub_ip() publicIpAddress leaf returns empty on Standard-SKU public IPs), which is what motivates baking the IP in at render time instead of relying on the metadata probe.