Is this a request for help?: No
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes: Using Kubernetes 1.6.6 and Helm 2.5.0
Which chart: Consul (https://github.com/kubernetes/charts/tree/master/stable/consul)
What happened: After assign the HttpPort parameter to 80, the Consul UI can't be reached (I'm using LoadBalancer as Service Type)
What you expected to happen: See the Consul UI (as it's shown when you use the default port 8500)
How to reproduce it (as minimally and precisely as possible): Just set the HttpPort to a value different from 8500. For example:
helm install \
--name consul \
--namespace default \
--set "uiService.enabled=true,uiService.type=LoadBalancer,HttpPort=80" \
stable/consul
Anything else we need to know: By the way, the "ui.enabled" parameter described on the documentation it's not used at all on the Helm Chart, but that's a different issue.
I have received the help of @netflash to investigate this issue. He discovered that, when "uiService.enabled" is set to true, only the "-ui" argument is passed to the Consul server (https://github.com/kubernetes/charts/blob/master/stable/consul/templates/consul.yaml#L179). This is ok, but is not enough if "HttpPort" was also used to indicate a different port. According to https://www.consul.io/docs/agent/options.html, the "ports/http" setting should be changed also:

Thank you very much in advance!
Is this a request for help?: No
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes: Using Kubernetes 1.6.6 and Helm 2.5.0
Which chart: Consul (https://github.com/kubernetes/charts/tree/master/stable/consul)
What happened: After assign the HttpPort parameter to 80, the Consul UI can't be reached (I'm using LoadBalancer as Service Type)
What you expected to happen: See the Consul UI (as it's shown when you use the default port 8500)
How to reproduce it (as minimally and precisely as possible): Just set the HttpPort to a value different from 8500. For example:
Anything else we need to know: By the way, the "ui.enabled" parameter described on the documentation it's not used at all on the Helm Chart, but that's a different issue.
I have received the help of @netflash to investigate this issue. He discovered that, when "uiService.enabled" is set to true, only the "-ui" argument is passed to the Consul server (https://github.com/kubernetes/charts/blob/master/stable/consul/templates/consul.yaml#L179). This is ok, but is not enough if "HttpPort" was also used to indicate a different port. According to https://www.consul.io/docs/agent/options.html, the "ports/http" setting should be changed also:

Thank you very much in advance!