gansheer opened a new pull request, #3927: URL: https://github.com/apache/camel-k/pull/3927
Fixes #3922 ## Motivation Make the autocompletion internal `kubectl` command and the CLI `kamel` command as consistant as possible in regards of namespace declaration. ## Description * retrieve the namespace flag from the current command * retrieve the namespace config with the `kamel config --list` command only if awk is available * apply the namespace to the kubectl autocompletion command : flag namespace > config namespace > no specified namespace The generated completion script was tested on Linux Fedora OS bash. Closes: #3922 **Release Note** ```release-note Use flag/config namespace for existing CLI completion kubectl commands ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org