Skip to content

Wrong structure in rke2 shell completion command #8495

@vitorsavian

Description

@vitorsavian

Environmental Info:
RKE2 Version: 1.31.9+rke2r1

Node(s) CPU architecture, OS, and Version:

Cluster Configuration:

Describe the bug:

  • when using rke2 shell completion command using this structure, the shell completion will not set environments for crictl and kubectl
rke2 completion bash --crictl --kubectl

Steps To Reproduce:

  • Installed RKE2: 1.31.9+rke2r1

Expected behavior:

  • Work as expected with that command structure

Actual behavior:

  • Does not work as expected with the command structure

Additional context / logs:

Metadata

Metadata

Labels

kind/bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions