From 09f922d4de1790a8442cec833712b9544fddf735 Mon Sep 17 00:00:00 2001 From: SingLi Date: Tue, 27 Aug 2019 07:28:38 +0900 Subject: [PATCH] [stable/rocketchat] Fix broken NOTES.txt labels (#16616) * update the label names to correct ones Signed-off-by: Sing Li * bump chart version Signed-off-by: Sing Li --- stable/rocketchat/Chart.yaml | 2 +- stable/rocketchat/templates/NOTES.txt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stable/rocketchat/Chart.yaml b/stable/rocketchat/Chart.yaml index 908d86118d..bf91978713 100644 --- a/stable/rocketchat/Chart.yaml +++ b/stable/rocketchat/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: rocketchat -version: 1.1.9 +version: 1.1.10 appVersion: 1.3.1 description: Prepare to take off with the ultimate chat platform, experience the next level of team communications keywords: diff --git a/stable/rocketchat/templates/NOTES.txt b/stable/rocketchat/templates/NOTES.txt index 22927a69c8..c5fcd6e994 100644 --- a/stable/rocketchat/templates/NOTES.txt +++ b/stable/rocketchat/templates/NOTES.txt @@ -4,15 +4,15 @@ Rocket.Chat can be accessed via port 80 on the following DNS name from within yo You can easily connect to the remote instance from your browser. Forward the webserver port to localhost:8888 -- kubectl port-forward --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "rocketchat.name" . }},release={{ .Release.Name }}" -o jsonpath='{ .items[0].metadata.name }') 8888:3000 +- kubectl port-forward --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template "rocketchat.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath='{ .items[0].metadata.name }') 8888:3000 You can also connect to the container running Rocket.Chat. To open a shell session in the pod run the following: -- kubectl exec -i -t --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "rocketchat.name" . }},release={{ .Release.Name }}" -o jsonpath='{.items[0].metadata.name}') /bin/sh +- kubectl exec -i -t --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template "rocketchat.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath='{.items[0].metadata.name}') /bin/sh To trail the logs for the Rocket.Chat pod run the following: -- kubectl logs -f --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "rocketchat.name" . }},release={{ .Release.Name }}" -o jsonpath='{ .items[0].metadata.name }') +- kubectl logs -f --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template "rocketchat.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath='{ .items[0].metadata.name }') {{- if .Values.ingress.enabled }}