claudio4j commented on pull request #2577:
URL: https://github.com/apache/camel-k/pull/2577#issuecomment-912530975


   > I'm not sure I understand why it's necessary for users to deal with low 
level resource mounting and Quarkus properties. Could the user provide only the 
secret name and the termination type, then the trait would take care of 
mounting the secret and set the Quarkus properties accordingly?
   
   It just happen that using quarkus http requires these quarkus properties for 
[SSL setup](https://quarkus.io/guides/http-reference#ssl), whatever http client 
the user may choose it may require a different set of parameters to setup it. 
For example,   [Netty 
SSL](https://github.com/apache/camel-k/blob/main/examples/http/NettySecureServer.java#L18)
 requires mounting `-resource file:KeyStore.jks@/etc/ssl/keystore.jks ` to 
setup `sslContextParameters` object. With that said, it would be difficult to 
look at every SSL setup to automate in route trait.


-- 
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-unsubscr...@camel.apache.org

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


Reply via email to