Skip to content

Triggering a CronJob fails as Unauthorized since v0.50 #3383

@tompazourek

Description

@tompazourek




Describe the bug
Triggering a CronJob fails as Unauthorized in v0.50.6, but works fine in v0.32.5

To Reproduce
Steps to reproduce the behavior:

  1. Go to CronJobs
  2. Press t to trigger and confirm the dialog
  3. In latest k9s (v0.50.6), I get CronJob trigger failed for xxx: user is not authorized to run jobs. But in an older k9s version (v0.32.5), it triggers and runs just fine.

Historical Documents
n/a

Expected behavior
CronJob can be triggered in the new k9s version the same way as it was able to trigger it in the old k9s version.

Screenshots
n/a

Versions (please complete the following information):

  • OS: Windows, but also macOS
  • K9s: v0.50.6
  • K8s: v1.31.7-eks-bcf3d70

Additional context
This is happening not just on my machine, but also for my colleagues.

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