KubeLibrary icon indicating copy to clipboard operation
KubeLibrary copied to clipboard

Add a parameter to most keywords to get objects from all namespaces instead of a specific one

Open Nilsty opened this issue 4 years ago • 0 comments

This could work similar to the kubectl paramater "--all-namespaces" The kubernetes client offers often two functions, one for performing an operation on a specific namespace, and one for all namespaces. e.g. list_namespaced_role and list_role_for_all_namespaces

It would be handy to impelment a switch case for some keywords to use the function for all namespaces when for exmaple the namespace parameter contains the phrase "all_namespaces".

Nilsty avatar Feb 28 '21 13:02 Nilsty