mirror of
https://github.com/immich-app/yucca-o11y.git
synced 2026-09-30 13:23:23 +08:00
fix(netbird): add fip to the policy granting it route delivery (#268)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user