astefanutti commented on pull request #1912:
URL: https://github.com/apache/camel-k/pull/1912#issuecomment-760756379


   I just had a quick look at `kubectl version`. It has a `--client` option to 
filter out the server version. It is a bit different than our case, as the 
operator version may be missing also when there is no operator deployment in 
the current context.
   
   It also has an `--output` option for structured result.
   
   ```console
   $ kubectl version -h
   Print the client and server version information for the current context
   
   Examples:
     # Print the client and server versions for the current context
     kubectl version
   
   Options:
         --client=false: Client version only (no server required).
     -o, --output='': One of 'yaml' or 'json'.
         --short=false: Print just the version number.
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to