squakez commented on pull request #1912: URL: https://github.com/apache/camel-k/pull/1912#issuecomment-762190832
> Another point is the retrieval of the operator version. Relying on extracting the tag from the Deployment image may fail in a number of situations, like when SHA pinning is used. I would suggest to exec into the operator container and run the `kamel version` command. That would provide a reliable way to retrieve the operator version. If that approach is chosen, it may be useful to support structured output for the `kamel version` command, to ease parsing. I am making the development to `exec` into the `kamel` operator, however I am thinking about the possible security concerns. Should we allow the CLI to run an arbitrary command on the operator running pod? I am not sure it's a good choice. ---------------------------------------------------------------- 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]
