Skip to content

Typing apply -f in command bar causes k9s to crash #2413

@Dogacel

Description

@Dogacel




Describe the bug
Getting,

Boom!! runtime error: index out of range [1] with length 1.

When writing apply -f to the command bar.

To Reproduce
Steps to reproduce the behavior:

  1. Press : to open command bar
  2. Type apply -f
  3. Program should crash when char f is typed.

Expected behavior
Shouldn't crash.

Screenshots

Screen.Recording.2023-12-30.at.10.36.13.mov

Versions (please complete the following information):

  • OS: OSX
  • K9s: 0.30.6
  • K8s: Server - v1.28.3

Terminal: Warp

Additional context
I have created an environment to learn kubernetes so there isn't much going around in my setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions