KubeLibrary
KubeLibrary copied to clipboard
Add a parameter to most keywords to get objects from all namespaces instead of a specific one
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".