Added tls termination at a pod level for qtodo#149
Conversation
mlorenzofr
left a comment
There was a problem hiding this comment.
I like a lot, but I have some doubts about the implementation.
If we're using conditionals for .Values.app.route.termination, then we're considering the possibility of configuring SSL offloading. In that case, we need to avoid hardcoded ports.
If we want to force end-to-end encryption, then we should also remove the references to the previous configuration and add a fail control if the user sets edge as the value for .Values.app.route.termination.
Perhaps it would be good to add a short paragraph in the documentation presenting end-to-end encryption feature. If you'd like, we can merge this implementation you've prepared, and I'll add the documentation in a separate commit.
|
@mlorenzofr Addressed your concerns (code wise) |
|
For documentation, the following is the type of content that could be added: The qtodo application uses reencrypt TLS termination on the OpenShift Route, by default, ensuring that traffic is encrypted end-to-end from the client to the pod. Ingress TLS communication is terminated at the OpenShift Router and reencrypted with a certificate generated using the Service Serving Certificate feature. Options are available within the qtodo Helm chart to dictate how and where TLS communication will be terminated. The TLS certificates can alternatively be provided within a secret defined in the |
mlorenzofr
left a comment
There was a problem hiding this comment.
@sabre1041 there's a typo
In the helper qtodo.app.port we use .Values.app.insecurePort.However, we have a couple of references to .Values.app.port. We need to align the names correctly.
Otherwise it works correctly. With these changes I think everything is ready.
Signed-off-by: Andrew Block <andy.block@gmail.com>
fixed. thanks for the callout |
Signed-off-by: Manuel Lorenzo <mlorenzofr@redhat.com>
hardened the posture by ensuring TLS to the qtodo app