Skip to content

Toggle Wide and Toggle Faults broken for PDB view #2733

@prasadkatti

Description

@prasadkatti




Describe the bug
On the Poddisruptionsbudgets view, the Toggle Wide and Toggle Faults commands are broken.
The Toggle Wide command has no effect. No additional columns are seen.
The Toggle Faults command leads to a panic. This is the error -
Boom!! runtime error: invalid memory address or nil pointer dereference.

To Reproduce
Steps to reproduce the behavior:

  1. Create a PDB using api version policy/v1.
  2. Navigate to PDBs view
  3. Toggle Wide (No effect seen)
  4. Toggle Faults. You should see a runtime error.

Expected behavior
Expected both the commands to work.

Versions (please complete the following information):

  • K9s: v0.32.4
  • K8s: v1.27

Additional context
I think the issue is because k9s is using an older removed api version of policy/v1beta1. I already have a PR to fix this - #2732

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions