cabin
cabin copied to clipboard
Cannot view anything without permission to list namespaces.
From @bharris47 on December 31, 2016 20:22
My company's cluster currently does not provide access the namespace resource. As a result, I can't select the namespace that I have access to and cannot view anything. It would be nice if a cluster could be configured with a default namespace (akin to kubectl contexts).
Copied from original issue: skippbox/cabin-issues#20
This is interesting, when you have a restricted access to a specific namespace, a "all-namespace" returns nothing, I thought kubernetes would still allows you to query all-namespace but only return those you have access to. Anyway we need a way to manually set the namespace. Some ideas would be:
- show an input instead of the list-picker when we cannot fetch namespaces - this might be annoying if we have access to multiple namespace
- show "Custom namespace" instead of "Create namespace" on the action sheet list, the user would be able to add locally every namespace he has access to - This might need some refactor for persistence/flexibility.