From fab4677760c0bfc2c514b39d0a7d48dde40af5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Fri, 28 Sep 2018 18:34:45 +0200 Subject: [PATCH] [stable/joomla] Improve getting LoadBalancer address in NOTES.txt (#8052) Signed-off-by: Carlos Rodriguez Hernandez --- stable/joomla/Chart.yaml | 2 +- stable/joomla/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/joomla/Chart.yaml b/stable/joomla/Chart.yaml index 4bf4050d86..1bc7fa9e65 100644 --- a/stable/joomla/Chart.yaml +++ b/stable/joomla/Chart.yaml @@ -1,5 +1,5 @@ name: joomla -version: 3.0.1 +version: 3.0.2 appVersion: 3.8.12 description: PHP content management system (CMS) for publishing web content keywords: diff --git a/stable/joomla/templates/NOTES.txt b/stable/joomla/templates/NOTES.txt index dcb3fdce7c..009d8f4465 100644 --- a/stable/joomla/templates/NOTES.txt +++ b/stable/joomla/templates/NOTES.txt @@ -26,7 +26,7 @@ NOTE: It may take a few minutes for the LoadBalancer IP to be available. Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "joomla.fullname" . }}' - export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "joomla.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}') + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "joomla.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") echo "Joomla! URL: http://$SERVICE_IP/" {{- else if contains "ClusterIP" .Values.service.type }}