Skip to content

Aliases for pods with unequal (!=) label filters not working #3470

@ohtyap

Description

@ohtyap




Describe the bug
Aliases containing a filter with != are not working - no resources are displayed.

To Reproduce
Steps to reproduce the behavior:

  1. define an alias:
aliases:
  pwn: pod app!=nginx
  1. start k9s
  2. Use the alias :pwn
  3. No pods are shown

Historical Documents

aliases:
  pwn: pod default app!=nginx

Expected behavior
Aliases work with negating filters.

Screenshots
n/a

Versions (please complete the following information):

  • OS: OSX 15.5
  • K9s: v0.50.9
  • K8s: v1.31.9

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestin-progressMark issue as being worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions