Update Gateway API to use new resources (#201)

We dont want to promote the use of the "old" resources with NB prefix so
the Gateway API integration should only support the new ones.

---------

Signed-off-by: Philip Laine <philip.laine@gmail.com>
This commit is contained in:
Philip Laine
2026-04-23 16:11:15 +02:00
committed by GitHub
parent 99ef70603f
commit 876a0e1eb3
10 changed files with 209 additions and 219 deletions
+3 -5
View File
@@ -332,16 +332,14 @@ func main() {
os.Exit(1)
}
if err = (&controller.HTTPRouteReconciler{
Client: mgr.GetClient(),
Netbird: nbClient,
ClusterDNS: clusterDNS,
Client: mgr.GetClient(),
Netbird: nbClient,
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "HTTPRoute")
os.Exit(1)
}
if err = (&controller.TCPRouteReconciler{
Client: mgr.GetClient(),
ClusterDNS: clusterDNS,
Client: mgr.GetClient(),
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "TCPRoute")
os.Exit(1)