Use Gateway listener to reference routing peer (#150)

This just changes how a routing peer is referenced. In my head this
model makes more sense, especially as we need at least one listener
right now.

Signed-off-by: Philip Laine <philip.laine@gmail.com>
This commit is contained in:
Philip Laine
2026-03-20 10:01:06 +01:00
committed by GitHub
parent 39ab189fae
commit 54b2ab8efc
3 changed files with 33 additions and 30 deletions
+2 -7
View File
@@ -13,14 +13,9 @@ metadata:
spec:
gatewayClassName: public
listeners:
- protocol: HTTP
- protocol: gateway.netbird.io/NBRoutingPeer
name: netbird
port: 80
name: dummy
infrastructure:
parametersRef:
group: netbird.io
kind: NBRoutingPeer
name: netbird
---
apiVersion: netbird.io/v1
kind: NBRoutingPeer