Skip to content

Cronjobs with the same name in different namespaces appear together #3178

@attributeerror

Description

@attributeerror




Describe the bug

Cronjobs with the same name in different namespaces appear together. When navigating from the cronjobs view of all namespaces to a specific cronjob, other cronjobs with the same name in different namespaces appear as well.

To Reproduce

  1. Create 2 cronjobs in different namespaces, both with the same name.
  2. Open K9s, go to 'cronjobs'.
  3. Select one of the cronjobs to view job history.
  4. Notice job from different namespace.

Expected behavior

Only job runs from that namespace that I'm viewing should show.

Screenshots

Screenshot showing jobs from different namespaces appearing in the same view

Versions (please complete the following information):

  • OS: WSL in Windows 10 22H2 (Build 19045.5487)
  • K9s: v0.40.5
  • K8s: v1.23.15

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