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 2021/08/16 16:58:18 UTC

[GitHub] [camel-k] claudio4j opened a new issue #2574: Provide file path based parameters to set certificate values for route trait

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

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



[GitHub] [camel-k] squakez commented on issue #2574: Provide file path based parameters to set certificate values for route trait

Posted by GitBox <gi...@apache.org>.
squakez commented on issue #2574:
URL: https://github.com/apache/camel-k/issues/2574#issuecomment-899673845


   With this approach, the certificates may be provided with different means (ie, volumes mounted) as well.


-- 
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] astefanutti closed issue #2574: Read certificates from secrets to setup TLS config for route trait

Posted by GitBox <gi...@apache.org>.
astefanutti closed issue #2574:
URL: https://github.com/apache/camel-k/issues/2574


   


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