mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
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:
+3
-5
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user