You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecate watchNamespaces and encourage users to use the kubernetes.io/metadata.name label (available since 1.22) to select namespaces by name. watchNamespaceSelectors will be added to support a list of selectors instead of a single selector as watchNamespaceSelector does.
Deprecate watchNamespaces and watchNamespaceSelector and mark for removal for next major.
As I'm thinking about it more I'm not sure I would like that API better.
As far as I understand the namespace name label was needed to allow selecting specific namespaces for network policies (where there is no other option), but in this case it seems to be an overkill and would unnecessarily complicate the API.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!
Deprecate
watchNamespaces
and encourage users to use thekubernetes.io/metadata.name
label (available since 1.22) to select namespaces by name.watchNamespaceSelectors
will be added to support a list of selectors instead of a single selector aswatchNamespaceSelector
does.Deprecate
watchNamespaces
andwatchNamespaceSelector
and mark for removal for next major.Originally posted by @aslafy-z in #1392 (comment)
The text was updated successfully, but these errors were encountered: