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

Toggle Wide and Toggle Faults broken for PDB view #2733

Closed
prasadkatti opened this issue Jun 7, 2024 · 0 comments · Fixed by #2732
Closed

Toggle Wide and Toggle Faults broken for PDB view #2733

prasadkatti opened this issue Jun 7, 2024 · 0 comments · Fixed by #2732

Comments

@prasadkatti
Copy link
Contributor




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

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

Successfully merging a pull request may close this issue.

1 participant