Skip to content

RFE: Watch labels #1808

@squeed

Description

@squeed

Feature Request

In #314 / #428, the ability was added to watch by label selector. This is useful if the watch would otherwise cause a lot of unnecessary objects to be kept in cache / sent over the wire. However, with the move to the controller-runtime, it seems that feature was lost.

What I really need for my particular use case is the ability to watch for all configmaps with a specific label, in all namespaces. I'd like to avoid keeping all configmaps in memory.

It may be that this particular use-case is too far outside the scope of a normal operator, in which case that's fine. I still think that label-based watches would be useful :-)

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.needs discussion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions