Public: anyone can read this; nobody can change it.

deploy/azure: bake the public IP into node.env (#123) #124

Merged opened this view on origin

Check · Review · Land done · Live — Landed; nothing deploys from this branch, so this is the end of its path.

Merged

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.

Notes

shipped merged

opened this view on origin

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.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs