Portforward API

This commit is contained in:
2025-04-21 10:35:39 +02:00
parent 3167397a81
commit 6aed3728cc
17 changed files with 523 additions and 1817 deletions

View File

@@ -242,6 +242,15 @@ func main() {
setupLog.Error(err, "unable to create controller", "controller", "FirewallPolicy")
os.Exit(1)
}
if err = (&controller.PortForwardReconciler{
Client: mgr.GetClient(),
Scheme: mgr.GetScheme(),
UnifiClient: unifiClient,
ConfigLoader: configLoader,
}).SetupWithManager(mgr); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "PortForward")
os.Exit(1)
}
// +kubebuilder:scaffold:builder
if err = (&controller.FirewallGroupReconciler{