bentoml/Yatai

Creating a deployment using the UI needs to list all the namespaces

amine-bs opened this issue · 0 comments

Hello.
I am trying to deploy a namespaced yatai (yatai and all the other components as well as the deployed models will be deployed in the same namespace). The user doesn't have access to the namespaces resource. But it seems that yatai needs to list all the namespaces in the cluster which is useless in this case. To my knowledge, it does so to ensure that the namespace that the user entered actually exists. But I dont think it is worth it to give high level permissions to the user just for this purpose. I would suggest managing the error (if the namespace doesn't exist) differently