diff --git a/stable/consul/Chart.yaml b/stable/consul/Chart.yaml index 96ec7ac59084..a60fea24a2e2 100755 --- a/stable/consul/Chart.yaml +++ b/stable/consul/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: consul home: https://github.com/hashicorp/consul -version: 3.9.4 +version: 3.9.5 appVersion: 1.5.3 description: Highly available and distributed service discovery and key-value store designed with support for the modern data center to make distributed systems and diff --git a/stable/consul/templates/consul-ingress.yaml b/stable/consul/templates/consul-ingress.yaml index 58e14f0319aa..16bfeb96e8f5 100644 --- a/stable/consul/templates/consul-ingress.yaml +++ b/stable/consul/templates/consul-ingress.yaml @@ -2,6 +2,7 @@ {{- $releaseName := .Release.Name -}} {{- $servicePort := .Values.HttpPort -}} {{- $serviceName := include "consul.fullname" . -}} +{{- $serviceHost := .Values.uiIngress.path }} apiVersion: extensions/v1beta1 kind: Ingress metadata: @@ -27,8 +28,8 @@ spec: - backend: serviceName: {{ $serviceName }} servicePort: {{ $servicePort }} - {{- if .Values.uiIngress.path }} - path: {{ .Values.uiIngresspath }} + {{- if $serviceHost }} + path: {{ $serviceHost }} {{- end }} {{- end -}} {{- if .Values.uiIngress.tls }}