k9s icon indicating copy to clipboard operation
k9s copied to clipboard

Can't switch namespaces in helm view

Open Timo-Weike opened this issue 4 months ago • 0 comments




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

Timo-Weike avatar Oct 15 '24 06:10 Timo-Weike