diff --git a/stable/opencart/Chart.yaml b/stable/opencart/Chart.yaml index e7ee3b96e4..bd23d64e51 100644 --- a/stable/opencart/Chart.yaml +++ b/stable/opencart/Chart.yaml @@ -1,5 +1,5 @@ name: opencart -version: 4.0.0 +version: 4.0.1 appVersion: 3.0.2-0 description: A free and open source e-commerce platform for online merchants. It provides a professional and reliable foundation for a successful online store. diff --git a/stable/opencart/templates/_helpers.tpl b/stable/opencart/templates/_helpers.tpl index 8634e78fe0..6f24afb9fc 100644 --- a/stable/opencart/templates/_helpers.tpl +++ b/stable/opencart/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 -}}