Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preprocess watched namespaces before addon-manager is up #131

Open
ccfishk opened this issue Apr 7, 2022 · 0 comments
Open

preprocess watched namespaces before addon-manager is up #131

ccfishk opened this issue Apr 7, 2022 · 0 comments
Assignees
Labels
design documentation Improvements or additions to documentation

Comments

@ccfishk
Copy link
Contributor

ccfishk commented Apr 7, 2022

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):

  • Addon status:
$ kubectl describe addon <addon-name>
  • controller logs:
$ kubectl logs <addon-manager-pod>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant