Skip to content

ConfigMapPropagation controller uses the tracker for a known GVK #2436

@grantr

Description

@grantr

Describe the bug
The ConfigMapPropagation controller uses the tracker to watch notifications for a constant GVK (ConfigMap).

Expected behavior
The tracker is only used to watch dynamic GVKs that are unknown at runtime. Informer event handlers expressed in the controller's constructor are clearer indicators (to me) of what watch events will trigger a reconcile.

To Reproduce

Knative release version
HEAD

Additional context
If there's wide agreement about the intended use of the tracker, it might be worth auditing other controllers.

/cc @grac3gao

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions