You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/12/16 17:54:30 UTC

[GitHub] [camel-k] gansheer opened a new pull request, #3927: feat(cli): Add namespace in command autocompletion bash

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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] tadayosi merged pull request #3927: feat(cli): Add namespace in command autocompletion bash

Posted by GitBox <gi...@apache.org>.
tadayosi merged PR #3927:
URL: https://github.com/apache/camel-k/pull/3927


-- 
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-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org