[stable/jenkins] Fix component label in NOTES.txt ... (#8300)

* [stable/jenkins] Fix component label in NOTES.txt to match label in jenkins-master-deployment.yaml (#7442)

Signed-off-by: François Travais <francois.travais@gmail.com>

* [stable/jenkins] Fix wrong label in NOTES.txt when service type is ClusterIP (#7442)

Signed-off-by: François Travais <francois.travais@gmail.com>
This commit is contained in:
Francois Travais
2018-10-12 11:41:19 -07:00
committed by k8s-ci-robot
parent 0954b2edbd
commit c5494dbfe8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: jenkins
home: https://jenkins.io/
version: 0.19.0
version: 0.19.1
appVersion: 2.121.3
description: Open source continuous integration server. It supports multiple SCM tools
including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based
+1 -1
View File
@@ -18,7 +18,7 @@
echo http://$SERVICE_IP:{{ .Values.Master.ServicePort }}/login
{{- else if contains "ClusterIP" .Values.Master.ServiceType }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "component={{ template "jenkins.fullname" . }}-master" -o jsonpath="{.items[0].metadata.name}")
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "component={{ .Release.Name }}-{{ .Values.Master.Component }}" -o jsonpath="{.items[0].metadata.name}")
echo http://127.0.0.1:{{ .Values.Master.ServicePort }}
kubectl port-forward $POD_NAME {{ .Values.Master.ServicePort }}:{{ .Values.Master.ServicePort }}