Skip to content

Resource search doesn't filter by name in custom view #3288

@qlimenoque

Description

@qlimenoque




Describe the bug
When I attempt to filter FluxCD Kustomization resources using custom view, I expect it to filter across all possible columns, but it only works with status, not name.

view.yaml

views:
  kustomize.toolkit.fluxcd.io/v1/kustomizations:
    sortColumn: NAME:asc
    columns:
      - NAME
      - STATUS
      - S:.spec.suspend
      - D:.metadata.annotations.kustomize\.toolkit\.fluxcd\.io/reconcile
      - READY
      - AGE

To Reproduce
Steps to reproduce the behavior:

  1. Create a custom view configuration
  2. Open the kustomization resources
  3. Filter using / and enter any existing name
  4. Observe an empty list

Expected behavior
Filter should work with name too, not only Status field

Screenshots

On the first screen we can see that it finds branch name with word "metric" in Status column
Image

But if we try to find the word "metrics" which is in Name column, it shows an empty list
Image

Versions (please complete the following information):

  • OS: macOS 15.3.2
  • K9s: v0.50.3
  • K8s: v1.32.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingin-progressMark issue as being worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions