Repository navigation
feat: add TLS support for Microcks HTTP endpoint #1784 - #2038
Conversation
|
Welcome to the Microcks community! 💖 Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly. Hope you have a great time there! |
c3dc2e2 to
17506fc
Compare
There was a problem hiding this comment.
Nice addition, useful feature.
I had one question while checking the templates: this PR updates the app/probes to use HTTPS on 8443, but the main Service still points to 8080, and the Ingress also seems to use service port 8080.
If enabling httpEnableTLS=true moves Microcks to 8443, should Service/Ingress be updated too? Otherwise traffic may still go to the old port.
Maybe I’m missing another template that already handles this.
|
Hi @dipak0000812, good catch! You're right, the Service and Ingress were still using port 8080 even when 'httpEnableTLS=true'. I've updated both: service.yaml - port and targetPort now use 8443 when TLS is enabled Tested locally with helm template for both cases and it looks good. Let me know if you spot anything else |
70d5cca to
22e21c9
Compare
Signed-off-by: sudheerr937-ai <[email protected]>
Signed-off-by: sudheerr937-ai <[email protected]>
22e21c9 to
07881dd
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 30 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation. There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
|
Fixes #1784 |
lbroudoux
left a comment
There was a problem hiding this comment.
Thanks a lot for pushing this. I added one comment but it's more for future enhancement.
| server.ssl.certificate=/deployments/config/https/tls.crt | ||
| server.ssl.certificate-private-key=/deployments/config/https/tls.key |
There was a problem hiding this comment.
I think those properties are still available for backward compatibility, but the now recommended wya of doing things is to use server.ssl.bundle properties.
|
You are now a Microcks community contributor! 💖 Thanks and congrats 🚀 on merging your first pull request! We are delighted and very proud of you! 👏 📢 If you're using Microcks in your organization, please add your company name to this list. 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. If you need to know why and how to add yourself to the list, please read the blog post "Join the Microcks Adopters list and Empower the vibrant open source Community 🙌" Kudos and please keep going, we need you 🙌 |
* feat: add TLS support for Microcks HTTP endpoint #1784 Signed-off-by: sudheerr937-ai <[email protected]> * fix: update Service and Ingress port when httpEnableTLS is enabled Signed-off-by: sudheerr937-ai <[email protected]> --------- Signed-off-by: sudheerr937-ai <[email protected]> (cherry picked from commit f3f3783)
Summary:-
Fixes -1784
Changes:-
configmap.yamlHow to use:-
To enable TLS on the HTTP endpoint, set the following values:
The secret must be of type 'kubernetes.io/tls' containing 'tls.crt' and 'tls.key'.
testing