It was just added until we are able to use the feature which now is implemented and merged in the framework which allows us to pass a List of Namespaces instead of just 1 or ALL to watch in the main.go.
How
Remove all namespace validations from the controller and its own tests
The APP_NAMESPACE values will be used in the main.go instead of as the following example.
// Create a new Cmd to provide shared dependencies and start components
mgr, err := manager.New(cfg, manager.Options{
NewCache: cache.MultiNamespacedCacheBuilder(namespaces), //HERE YOU WILL PASS THE LIST OF NAMESPACES ADDED IN THE ENV VAR
})