-
Notifications
You must be signed in to change notification settings - Fork 385
How can I tweak the helm chart to use the certificate generated by me using kub cert-manager #750
Comments
Hi @himmakam thanks for filing! Could you describe how you'd like to use the certificate generated by cert-manager? There are various aspects of TLS that can be configured by the Helm chart, however configuring mTLS will require a CA so that Consul can dynamically generate certificates for services. |
Thanks for your response. You mean to say we might need intermediate CA with which we can generate the certs dynamically for the services in consul? Are the below values in helm chart referring to this intermediate cert and private key correspondinlgy ? .Values.global.tls.caCert.secretName .Values.global.tls.caKey.secretName |
Yes you would need to provide the intermediate cert config with both the |
ok. thanks a lot. And one more question, once the helm is successful using cert-manager, am able to see the consul UI using below - Instead of this, can I enable ingress for the same. When I tried ingress with the same certificate, I get 503 bad gateway error. Could you please help me how to resolve this. |
Hi, we don't natively support an |
I think this might be because you need to configure your ingress controller to create connections to backends with TLS. This typically depends on the specific ingress provider you're using, but here are the docs on how to do that for NGINX ingress. |
Hi @himmakam you should now be able to use our helm chart to create an Ingress resource for the UI and provide the cert generated by cert-manager via the Line 962 in 3fabe29
There is also a writeup here from DO on how to leverage cert manager with NGINX ingress if you are using NGINX. |
Please search the existing issues for relevant questions, and use the reaction feature (https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to add upvotes to pre-existing questions.
Question
Please provide as many details as you can, including but not limited to
More details will help us answer questions more accurately and with less delay :)
The text was updated successfully, but these errors were encountered: