layer1: fix newdeploy namespace parity step 5
This commit is contained in:
@@ -944,6 +944,11 @@ func (deploy *NewDeploy) AddNamespace(ctx context.Context, ns string, mgr manage
|
||||
return fmt.Errorf("AddNamespace %s (newdeploy): add function handler: %w", ns, err)
|
||||
}
|
||||
|
||||
_, err = finformer.Core().V1().Environments().Informer().AddEventHandler(deploy.EnvEventHandlers(ctx))
|
||||
if err != nil {
|
||||
return fmt.Errorf("AddNamespace %s (newdeploy): add environment handler: %w", ns, err)
|
||||
}
|
||||
|
||||
finformer.Start(ctx.Done())
|
||||
ndmInformer.Start(ctx.Done())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user