Skip to content

CLI Completion is broken #4631

Description

@znd4

b.c. the cobra code is still targeting kots, but the binary's being distributed as kubectl-kots, CLI completion doesn't work. Unfortunately, simply switching to kubectl-kots would still confuse users, b.c. completion for kubectl plugins is a whole thing, so it'd only fix kubectl-kots <tab>.

The best solution would be to actually implement kubectl kots <tab> completion by shipping a second kubectl_complete-kots binary that basically aliases to kubectl kots completion $* (if I'm understanding the kubectl plugin completion spec correctly)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions