mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/consul] updated templating for ingress host (#21207)
Signed-off-by: Yatharth Sharma <yatharth0045@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user