From dd3018bf7c12ea27e2e47daa308a0bc9987c9fc9 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:49:24 +0100 Subject: [PATCH] [stable/prestashop] Fix incorrect template for getting the LoadBalancerIP (#9498) Signed-off-by: Javier J. Salmeron Garcia --- stable/prestashop/Chart.yaml | 2 +- stable/prestashop/templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/prestashop/Chart.yaml b/stable/prestashop/Chart.yaml index d01954a409..75539d8937 100644 --- a/stable/prestashop/Chart.yaml +++ b/stable/prestashop/Chart.yaml @@ -1,5 +1,5 @@ name: prestashop -version: 5.0.0 +version: 5.0.1 appVersion: 1.7.4-4 description: A popular open source ecommerce solution. Professional tools are easily accessible to increase online sales including instant guest checkout, abandoned diff --git a/stable/prestashop/templates/_helpers.tpl b/stable/prestashop/templates/_helpers.tpl index af26bbc6a8..4a4fd46d0c 100644 --- a/stable/prestashop/templates/_helpers.tpl +++ b/stable/prestashop/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 -}}