multi-tenant: EnsureNamespaceSA + ns_watcher SA provisioning (v8)
This commit is contained in:
@@ -213,6 +213,10 @@ func Start(ctx context.Context, clientGen crd.ClientGeneratorInterface, logger *
|
||||
metrics.ServeMetrics(ctx, "router", logger, mgr)
|
||||
})
|
||||
|
||||
// Multi-tenant: watch namespaces labeled fission.io/managed=true
|
||||
// and dynamically register HTTPTrigger/Function informers without restart.
|
||||
StartNSWatcher(ctx, logger, kubeClient, triggers, mgr)
|
||||
|
||||
logger.Info("starting router", zap.Int("port", port))
|
||||
|
||||
tracer := otel.Tracer("router")
|
||||
|
||||
Reference in New Issue
Block a user