claudio4j opened a new issue #2574: URL: https://github.com/apache/camel-k/issues/2574
Currently route trait parameters `tls-certificate`, `tls-key`, `tls-ca-certificate`, `tls-destination-ca-certificate` expects certificates to set as string parameters, but that is a difficult to set as command line parameters, example: ``` -t route.tls-key="-----BEGIN RSA PRIVATE KEY-----MIIEowIBAA..." ``` This is a proposal to add new four parameters with `-path` suffix to set these certificates as files from resources, so having `tls-ca-certificate-path` the user is required to set `--resource` parameter with wither a file or configmap or secret, for example: ``` --trait route.tls-ca-certificate-path=/tmp/my.crt --resource file:./tls.crt@/tmp/my.crt ``` The new parameters for trait route would be: `tls-certificate-path`, `tls-key-path`, `tls-ca-certificate-path`, `tls-destination-ca-certificate-path` They require a `--resource` with the mounted files, otherwise the route trait fails to create the route object. -- 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]
