squakez opened a new pull request #2730: URL: https://github.com/apache/camel-k/pull/2730
With this PR we enhance the `kamel version` command to allow retrieve more information such as: ``` $ ./kamel version -av -n operator-test Camel K Client 1.7.0-SNAPSHOT Git Commit: 2629b4e7b8e91d40d006474f73f9b5cf6be377cb Camel K Operator 1.7.0-SNAPSHOT Runtime Version: 1.10.0-SNAPSHOT Git Commit: fcf6dbaa7b5bb565e433fb390b3dccb2ec9aa900 Go OS: linux Go Version: go1.17 Publish Strategy: Spectrum ``` * Added some useful information into IntegrationPlatform * It can be later retrieved by `kamel version --operator -v` command * Enhanced the command to include `--all` showing both client and operator info * Added unit test Closes #1947 <!-- Description --> <!-- Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required". If no release note is required, write "NONE". You can (optionally) mark this PR with labels "kind/bug" or "kind/feature" to make sure the text is added to the right section of the release notes. --> **Release Note** ```release-note feat(cmd): operator additional info ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
