What broke? What's expected?
When a plugin is discovered at the default path, the INFO log is always output to completion:
$ kubebuilder<TAB><TAB>
^[[36mINFO^[[0m Adding external plugin plugin name=foo.acme.io
alpha (Alpha-stage subcommands)
completion (Load completions for the specified shell)
create (Scaffold a Kubernetes API or webhook)
edit (Update the project configuration)
help (Help about any command)
init (Initialize a new project)
version (Print the kubebuilder version)
$ kubebuilder init<TAB>\$\\E\[36mINFO\\E\[0m\ Adding\ external\ plugin\ plugin\ name=foo.acme.io
Reproducing this issue
Create a new directory at the default path for plugin discovery.
~/.config$ mkdir -p kubebuilder/plugins/foo.acme.io/v2/foo.acme.io
Then hit TAB on the kubebuilder command or any subcommand to get completion.
The completion will be populated by ^[[36mINFO^[[0m Adding external plugin plugin name=foo.acme.io.
KubeBuilder (CLI) Version
master
PROJECT version
n/a
Plugin versions
Other versions
n/a
Extra Labels
No response
What broke? What's expected?
When a plugin is discovered at the default path, the INFO log is always output to completion:
Reproducing this issue
Create a new directory at the default path for plugin discovery.
Then hit TAB on the
kubebuildercommand or any subcommand to get completion.The completion will be populated by
^[[36mINFO^[[0m Adding external plugin plugin name=foo.acme.io.KubeBuilder (CLI) Version
master
PROJECT version
n/a
Plugin versions
n/aOther versions
n/a
Extra Labels
No response