Emit a warning when remote list uses cluster scoped listings
gotwarlost opened this issue · comments
Krishnan Anantheswaran commented
Sometimes, the list scope is turned into a cluster scoped query even when the caller assumes this will be namespace-scoped. This may happen for example, when a default namespace is not set for a cluster (qbec assumes "default") and all objects belong to another foo
namespace.
Such errors are usually hard to track down. Add a warning when qbec switches to cluster scoped queries to make debugging easier.