fix(netbird): add fip to the policy granting it route delivery (#268)

This commit is contained in:
Antoine Lecompte
2026-09-02 08:32:25 -04:00
committed by GitHub
parent 75f9cb25a4
commit e16314ff8c
@@ -173,9 +173,15 @@ resource "netbird_dns_zone" "mesh" {
distribution_groups = concat(
[data.netbird_group.yucca.id, netbird_group.k8s_routing_peers.id],
var.env == "production" ? [data.netbird_group.yucca_ceph[0].id] : [],
var.env == "production" ? [data.netbird_group.fip_k8s_routing_peers[0].id] : [],
)
}
data "netbird_group" "fip_k8s_routing_peers" {
count = var.env == "production" ? 1 : 0
name = "fip-prod-k8s-routing-peers"
}
# Wildcard A -> the gateway VIP (HA is the >=2 routing Pods, not multiple records).
resource "netbird_dns_record" "mesh_wildcard" {
zone_id = netbird_dns_zone.mesh.id