fix(shelly-manager): reachable firmware LoadBalancer on IPv4 and IPv6 #1515

Merged
k.renner merged 1 commits from shelly-firmware-lb-reachable into main 2026-10-28 14:50:52 +00:00
2 changed files with 8 additions and 1 deletions
@@ -91,8 +91,12 @@ spec:
fieldPath: status.podIP
# 8082 and 9090 are separate pipelines in the app that answer only
# /fw/... and /metrics; the UI and API stay on 8080.
# 8082 binds [::] (dual-stack, all interfaces): POD_IP is IPv4 only
# and the firmware LoadBalancer also serves IPv6. That includes
# net1, which only offers the same firmware files the LoadBalancer
# already serves to the IoT VLAN.
- name: ASPNETCORE_URLS
value: "http://$(POD_IP):8080;http://$(POD_IP):8082;http://$(POD_IP):9090"
value: "http://$(POD_IP):8080;http://[::]:8082;http://$(POD_IP):9090"
# The URL devices download firmware from: Service shelly-manager-firmware.
- name: Firmware__PublicBaseUrl
value: http://shelly-firmware.renner.uno
@@ -45,6 +45,9 @@ metadata:
lb-pool: bgp
dns.renner.uno/internal: "true"
annotations:
# Pinned like the other bgp-pool Services: auto-assignment hands out the
# pool's first address, 10.2.99.0, which is not reachable.
lbipam.cilium.io/ips: "10.2.99.90,fd99::8a"
external-dns.kubernetes.io/hostname: shelly-firmware.renner.uno
spec:
type: LoadBalancer