From c43dcf7a8c4444857021f80c8f85bb3391597f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Prud=27homme?= Date: Mon, 17 Dec 2018 17:56:33 +0100 Subject: [PATCH] [stable/spring-cloud-data-flow] Fix wrong value name when ClusterIP is used (#9625) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix wrong value name when ClusterIP is used Signed-off-by: Sébastien Prud'homme * Bump chart version Signed-off-by: Sébastien Prud'homme * bump chart version Signed-off-by: Paul Czarkowski --- stable/spring-cloud-data-flow/Chart.yaml | 2 +- stable/spring-cloud-data-flow/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/spring-cloud-data-flow/Chart.yaml b/stable/spring-cloud-data-flow/Chart.yaml index 1bc6787be1..0ff5422e50 100644 --- a/stable/spring-cloud-data-flow/Chart.yaml +++ b/stable/spring-cloud-data-flow/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Toolkit for building data processing pipelines. name: spring-cloud-data-flow -version: 1.0.1 +version: 1.0.2 appVersion: 1.7.2.RELEASE home: http://cloud.spring.io/spring-cloud-dataflow/ sources: diff --git a/stable/spring-cloud-data-flow/templates/NOTES.txt b/stable/spring-cloud-data-flow/templates/NOTES.txt index 5cd1ac6f36..f462838939 100644 --- a/stable/spring-cloud-data-flow/templates/NOTES.txt +++ b/stable/spring-cloud-data-flow/templates/NOTES.txt @@ -8,7 +8,7 @@ You can watch the status of the server by running 'kubectl get svc -w {{ template "scdf.fullname" . }}-server' export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "scdf.fullname" . }}-server -o jsonpath='{.status.loadBalancer.ingress[0].ip}') echo http://$SERVICE_IP:{{ .Values.server.service.externalPort }} -{{- else if contains "ClusterIP" .Values.service.type }} +{{- else if contains "ClusterIP" .Values.server.service.type }} export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "scdf.fullname" . }}-server" -> -l "app={{ template "scdf.name" . }},release={{ .Release.Name }},component=server" echo "Visit http://127.0.0.1:8080 to use your application" kubectl port-forward $POD_NAME 8080:{{ .Values.server.service.externalPort }}