From 47977cdf210ab21eb4d4d3fcf44b07099899d66f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20J=2E=20Salmer=C3=B3n-Garc=C3=ADa?= Date: Fri, 23 Nov 2018 11:55:10 +0100 Subject: [PATCH] [stable/phabricator] Fix incorrect template for getting the LoadBalancerIP (#9499) Signed-off-by: Javier J. Salmeron Garcia --- stable/phabricator/Chart.yaml | 2 +- stable/phabricator/templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/phabricator/Chart.yaml b/stable/phabricator/Chart.yaml index 149609720c..9576bc89b4 100644 --- a/stable/phabricator/Chart.yaml +++ b/stable/phabricator/Chart.yaml @@ -1,5 +1,5 @@ name: phabricator -version: 4.0.0 +version: 4.0.1 appVersion: 2018.46.0 description: Collection of open source web applications that help software companies build better software. keywords: diff --git a/stable/phabricator/templates/_helpers.tpl b/stable/phabricator/templates/_helpers.tpl index 40a6c86a6b..e22d26c902 100644 --- a/stable/phabricator/templates/_helpers.tpl +++ b/stable/phabricator/templates/_helpers.tpl @@ -31,7 +31,7 @@ Note, returns 127.0.0.1 if using ClusterIP. {{- if eq .Values.service.type "ClusterIP" -}} 127.0.0.1 {{- else -}} -{{- index .Values (printf "%sLoadBalancerIP" .Chart.Name) | default "" -}} +{{- .Values.service.loadBalancerIP | default "" -}} {{- end -}} {{- end -}}