-
Notifications
You must be signed in to change notification settings - Fork 385
add optional ingress resource #88
Comments
Hi. Any updates on this issues? |
@adilyse -- looks like those changes enable annotations on a service, not the creation of an ingress object. Suggest referencing a solution such as the one used by Minio: https://github.com/helm/charts/blob/master/stable/minio/templates/ingress.yaml This would allow for an ingress object to be created if the value is set. The actual ingress object is farily simple, mine is here:
I can pull together a PR if you guys would be willing to review it. |
The Consul team is looking for more feedback on the Consul Helm Chart. If any of you have 3 minutes, consider filling out our survey. |
We have deployed Consul 1.8.4 using this helm chart ,which created a service for web-ui named as "consul-primary-ui" .To expose the ui we are creating the following ingress object , Unfortunately we are getting "404 page not found " .
|
@jomcyp -- is the service port (443) correct? Is the consul service itself configured to do TLS? |
Hey @jomcyp I'm not sure that the |
Thank you for the response
I am able to access consul web ui with https , when i do kubectl port-forward at service level @ishustava Do we need to pass tls certificate through ingress object ? When I enabled tls with helm chart by default its using consul built-in CA to generate the certificates. |
I've just remembered that the Kubernetes ingress doesn't support TLS on the backend, meaning TLS termination has to be done at the ingress controller, and the traffic from ingress to the backend pod (in this case consul servers) is in plaintext. Here are the kubernetes docs that mention that. I know that some ingress controllers, e.g. NGINX, allow TLS passthrough. I saw from your annotations that you're using traefik and found this blog that talks about how to enable TLS passthrough. Ultimately, you'd need to check with the specific ingress implementation on whether they support TLS passthrough or turn off TLS on the consul cluster. |
Addressed by #774 |
It would be nice if an ingress resource could optionally be configured for the ui, ideally with ability to configure labels, annotations, and TLS.
For example: how it's done in the prometheus-operator chart
The text was updated successfully, but these errors were encountered: