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

web UI can not list k8s roles #23800

Closed
kelvinatreslv opened this issue Oct 24, 2023 · 3 comments
Closed

web UI can not list k8s roles #23800

kelvinatreslv opened this issue Oct 24, 2023 · 3 comments
Labels
auth/k8s bug Used to indicate a potential bug ui

Comments

@kelvinatreslv
Copy link

Describe the bug
Vault 1.15.0+ent.hsm Linux version, when list kubernetes roles in non-root namespace on web UI, get 404 error.
It works fine when use CLI "vault list -namespace=application auth/kubernetes/role" or API with "X-Vault-Namespace" header.

To Reproduce
Steps to reproduce the behavior:

  1. upgrade to 1.15.0+ent.hsm
  2. create namespace and k8s auth and role
  3. try list role on web UI.

Expected behavior
can list out roles on web UI.

Environment:

  • Vault Server Version (retrieve with vault status): Vault 1.15.0+ent.hsm
  • Vault CLI Version (retrieve with vault version):
  • Server Operating System/Architecture: ubuntu 22.04

Vault server configuration file(s):

# Paste your Vault config here.
# Be sure to scrub any sensitive values

Additional context
Add any other context about the problem here.

@ccapurso ccapurso added ui bug Used to indicate a potential bug auth/k8s labels Oct 31, 2023
@hashishaw
Copy link
Contributor

Hey there, thanks for this detailed report! This was fixed with 1.15.1 as part of this PR.

@isman-usoh
Copy link

I have the same problem in versions 1.15.6+ent and 1.14.10+ent.

But this problem was not found on 1.15.5+ent and 1.14.9+ent.

@bukovjanmic
Copy link

We see the same, regression in 1.15.6+ent (not visible), it is correct in 1.15.5+ent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth/k8s bug Used to indicate a potential bug ui
Projects
None yet
Development

No branches or pull requests

6 participants
@ccapurso @isman-usoh @hashishaw @bukovjanmic @kelvinatreslv and others