Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
What happened:
Addon-manager's role only watch specific namespace while controller-runtime/manager framework default watch all namespaces, which is against the RBAC. User is able to restrict controller watch list of namespaces by specify a list as manager option.
Needs provide a list of namespace to addon-manager during bootstrap stage
What you expected to happen:
Addon-manager watch needed namespaces list instead of all namespace
Addon-manager is able to function as expected
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
- Addon Manager version
- Kubernetes version :
$ kubectl version -o yaml
Other debugging information (if applicable):
$ kubectl describe addon <addon-name>
$ kubectl logs <addon-manager-pod>
Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
What happened:
Addon-manager's role only watch specific namespace while controller-runtime/manager framework default watch all namespaces, which is against the RBAC. User is able to restrict controller watch list of namespaces by specify a list as manager option.
Needs provide a list of namespace to addon-manager during bootstrap stage
What you expected to happen:
Addon-manager watch needed namespaces list instead of all namespace
Addon-manager is able to function as expected
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Other debugging information (if applicable):