Skip to content
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

UI: Show available namespaces with RBAC namespace delegation #9312

Open
CRASH-Tech opened this issue Aug 6, 2022 · 6 comments
Open

UI: Show available namespaces with RBAC namespace delegation #9312

CRASH-Tech opened this issue Aug 6, 2022 · 6 comments

Comments

@CRASH-Tech
Copy link

Summary

In the UI I cannot to see available namespaces for my account, and need to enter it.
User may not to know him namespace/s, and will be cool if with empty namespace field will be show resources in all available namespaces, associadet wit that ServiceAccount


Message from the maintainers:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

@CRASH-Tech CRASH-Tech added the type/feature Feature request label Aug 6, 2022
@tu-maurice
Copy link

To add to this: It would be helpful to be able to set a default namespace to display using an environment variable, because as far as I can see the web ui tries to display a namespace called "undefined" when argo server is not restricted to a single namespace.

@terrytangyuan
Copy link
Member

Could you try the new release https://github.com/argoproj/argo-workflows/releases/tag/v3.4.0-rc1?

A more meaningful default namespace associated with the service account will be displayed instead in this new release.

@basanthjenuhb
Copy link
Contributor

basanthjenuhb commented Aug 14, 2022

This would be a very nice feature.
But, Its a hard problem,
Reason being, when we use NAMESPACE DELEGATION feature, you are logged in using an account in argo namespace,
But you can perform an operation in any namespace using an account present in that namespace.

To show available namespaces,
I would have to loop over all namespaces, then each account in that namespace, and see if any account can be used.
Not sure how fast would this be

@tu-maurice
Copy link

A more meaningful default namespace associated with the service account will be displayed instead in this new release.

That would be the namespace where I installed argo to, right? Not one of the dedicated namespaces I created for workflows to run. Either way I'm having trouble updating to v3.4.0-rc1 so I can't try it out currently, but that's not a topic for this issue.

@agilgur5
Copy link

agilgur5 commented Aug 9, 2023

A more meaningful default namespace associated with the service account will be displayed instead in this new release.

For reference, this is referring to #9008

@agilgur5 agilgur5 changed the title Show available namespaces in UI with RBAC namespace delegation UI: Show available namespaces with RBAC namespace delegation Oct 15, 2024
@agilgur5
Copy link

agilgur5 commented Oct 15, 2024

Very similar to #9140 / #7405

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants