From 06041cd4618ef26ced19bd228cf787e177f7896a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Fri, 28 Sep 2018 17:19:45 +0200 Subject: [PATCH] [stable/parse] Improve getting LoadBalancer address in NOTES.txt (#8041) * [stable/parse] Improve getting LoadBalancer address in NOTES.txt Signed-off-by: Carlos Rodriguez Hernandez * Fix appVersion Signed-off-by: Carlos Rodriguez Hernandez --- stable/parse/Chart.yaml | 2 +- stable/parse/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/parse/Chart.yaml b/stable/parse/Chart.yaml index 80055a65fb..2ef061e8ef 100644 --- a/stable/parse/Chart.yaml +++ b/stable/parse/Chart.yaml @@ -1,5 +1,5 @@ name: parse -version: 3.0.0 +version: 3.0.1 appVersion: 3.0.0 description: Parse is a platform that enables users to add a scalable and powerful backend to launch a full-featured app for iOS, Android, JavaScript, Windows, Unity, and more. keywords: diff --git a/stable/parse/templates/NOTES.txt b/stable/parse/templates/NOTES.txt index 882b8819eb..56de56e32d 100644 --- a/stable/parse/templates/NOTES.txt +++ b/stable/parse/templates/NOTES.txt @@ -20,7 +20,7 @@ Parse Server 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 "parse.fullname" . }}' - export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "parse.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}'):{{ .Values.server.port }} + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "parse.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}"):{{ .Values.server.port }} {{- else if contains "ClusterIP" .Values.serviceType }}