-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespaces list does not work after update to 7.9.0 #9591
Comments
I will try to reproduce that. For the time being you can also set cache-enabled flag on the api container to false. |
The workaround with the |
I suspect it's just a frontend glitch where we do not have a proper loading state for the initial namespace list call. Possibly if you try to reload the page and namespaces will already be cached it will work. I will check that. |
Actually it works the other way around when I enable the cache again:
I hope it helps. |
@floreks I have seen that you have released new versions for 3 components and if I use them with the auth:
image:
tag: 1.2.2
api:
image:
tag: 1.10.1
web:
image:
tag: 1.5.2 the dropdown menu shows all namespaces correctly. Are you going to release a new version of the Helm chart that uses these tags any time soon? Thanks in advance |
Ye, we will do the release this week. I just wanted to squish some other things into the release before we do it. |
Cool, thank you! 👍 |
What happened?
After updating the Helm chart from
7.8.0
to7.9.0
the namespaces lists on the upper left corner does not show all namespaces for authenticated user as happened before. It should be granted by this cluster role:and this cluster role binding:
The namespaces are shown at the first load, but after a page refresh or a selection of a namespace, the list only shows the
default
namespace.The namespaces can only be accessed via URLs like:
https://dashboard.cluster.company.com/workloads?namespace=my-namespace
What did you expect to happen?
I expect that all namespaces are shown and the authenticated users can scroll the list and then only be able to access the namespaces' resources, as they are granted by other roles and role bindings.
Users with admin cluster roles (all API groups, all resources, all verbs are allowed) are not affected by the issue and they can still scroll the namespaces list as before.
How can we reproduce it (as minimally and precisely as possible)?
Here I am sharing the values that I am overwriting:
Additionally I am overwriting resources (requests and limits) and the annotations and hosts of
app.ingress
, but they should not matter, I think.As you can see I am overwriting both
defaultNamespace
andnamespaceFallbackList
, but it looks like the default values are taken instead.Anything else we need to know?
The only way I have found to have the
7.9.0
Helm chart working fine is by overwriting the tag of the API component with the one used by7.8.0
as follows:So I think that the problem could be in the API component.
What browsers are you seeing the problem on?
Chrome
Kubernetes Dashboard version
7.9.0
Kubernetes version
1.29.5
Dev environment
No response
The text was updated successfully, but these errors were encountered: