Skip to content

No permission to see deployments/statefulsets even though I have them #2459

@MartinKirchner

Description

@MartinKirchner




Describe the bug
Today I updated from k9s 0.22.1 to 0.31.2.
Since then k9s complains about missing permissions when I want to show deployments or statefulsets.
After a restart of k9s the objects are shown.

To Reproduce
Steps to reproduce the behavior:

  1. Start from a list of pods
  2. Press Ctrl+a
  3. Press /
  4. Enter sts, select Statefulsets and press Enter
  5. Error that I apparently don't have the permissions:
    grafik
  6. Press Ctrl+c to close k9s
  7. Start it again
  8. Statefulsets are shown

When I again switch to k9s 0.22.1 I don't get this error.

Expected behavior
No error message, statefulsets/deployments are shown.

Versions (please complete the following information):

  • OS: WSL2 in Windows 11
  • K9s: 0.31.2
  • K8s: v1.25.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions