Skip to content

preprocess watched namespaces before addon-manager is up #131

Description

@ccfishk

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>

Metadata

Metadata

Assignees

Labels

designdocumentationImprovements or additions to documentation

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions