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

Can't switch namespaces in helm view #2916

Open
Timo-Weike opened this issue Oct 15, 2024 · 0 comments
Open

Can't switch namespaces in helm view #2916

Timo-Weike opened this issue Oct 15, 2024 · 0 comments

Comments

@Timo-Weike
Copy link




Describe the bug
When in the helm view I can't switch namespaces via the short cuts (pressing 0, 1, 2, ...).

To Reproduce
Steps to reproduce the behavior:

  1. open k9s
  2. go to the namespace view :namespace
  3. press enter on any namespace that contains a helm release
  4. go to the helm view :helm
  5. now the helm releases of that namespace should be listed
  6. try changing the namespace by using the short cuts 0, 1, 2, ...
    • 0 yields the error current user can't access namespace all
    • 1 yieds the error ``list access denied for user on "":helm`
  7. close k9s
  8. run helm list -A and see all helm releases across the cluster

Historical Documents

8:46AM INF 🐶 K9s starting up...
8:46AM DBG Active Context "<cluster-name>"
8:46AM INF ✅ Kubernetes connectivity
8:46AM DBG No custom skin found. Using stock skin
8:46AM DBG Factory START with ns `"all"
8:46AM DBG Fetching latest k9s rev...
8:46AM DBG K9s latest rev: "v0.32.5"
8:46AM WRN Fail CRDs load error="`list access denied for user on \"\":apiextensions.k8s.io/v1/customresourcedefinitions"
8:46AM DBG No custom skin found. Using stock skin
8:46AM WRN Fail CRDs load error="[list] access denied on resource \"-\":\"apiextensions.k8s.io/v1/customresourcedefinitions\""
8:47AM WRN Fail CRDs load error="[list] access denied on resource \"-\":\"apiextensions.k8s.io/v1/customresourcedefinitions\""
8:47AM WRN Fail CRDs load error="[list] access denied on resource \"-\":\"apiextensions.k8s.io/v1/customresourcedefinitions\""
8:47AM WRN Fail CRDs load error="[list] access denied on resource \"-\":\"apiextensions.k8s.io/v1/customresourcedefinitions\""
8:47AM WRN Fail CRDs load error="[list] access denied on resource \"-\":\"apiextensions.k8s.io/v1/customresourcedefinitions\""
8:47AM ERR `list access denied for user on "":helm
8:47AM ERR `list access denied for user on "<namespace-1>":helm
8:48AM WRN Fail CRDs load error="[list] access denied on resource \"-\":\"apiextensions.k8s.io/v1/customresourcedefinitions\""
8:48AM WRN Fail CRDs load error="[list] access denied on resource \"-\":\"apiextensions.k8s.io/v1/customresourcedefinitions\""
8:48AM WRN Fail CRDs load error="[list] access denied on resource \"-\":\"apiextensions.k8s.io/v1/customresourcedefinitions\""
8:48AM ERR current user can't access namespace all
8:48AM ERR current user can't access namespace <namespace-1>
8:48AM ERR `list access denied for user on "<namespace-2>":helm
8:48AM ERR `list access denied for user on "default":helm
8:48AM WRN Fail CRDs load error="[list] access denied on resource \"-\":\"apiextensions.k8s.io/v1/customresourcedefinitions\""

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • OS: Windows 11
  • K9s: 0.32.4
  • K8s: 1.29.5
  • Helm: 3.15.4

Additional context
For context the cluster is an private AKS with RBAC enabled and I have the roles

  • Azure Kubernetes Service Cluster User Role
  • Azure Kubernetes Service RBAC Writer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant