layer1: checkpoint namespace manager runtime series

This commit is contained in:
Naeel
2026-04-26 11:44:36 +03:00
parent 6e037a506d
commit 90924cdec7
12 changed files with 32 additions and 26 deletions
+1 -1
View File
@@ -28,4 +28,4 @@ func registerRouterNamespace(ctx context.Context, namespace string, ts routerNam
return nil
}
return ts.AddNamespace(ctx, namespace, mgr)
}
}
+1 -1
View File
@@ -49,4 +49,4 @@ func TestRegisterRouterNamespacePropagatesError(t *testing.T) {
if err == nil || err.Error() != "add failed" {
t.Fatalf("expected router add error to be propagated, got %v", err)
}
}
}
+1
View File
@@ -14,6 +14,7 @@ import (
"github.com/fission/fission/pkg/utils"
"github.com/fission/fission/pkg/utils/manager"
)
// StartNSWatcher registers a Kubernetes Namespace Informer for the router.
// Whenever a Namespace with label fission.io/managed=true appears (or is relabeled),
// the router immediately subscribes to HTTPTriggers and Functions in that namespace.