Skip to content

Commit

Permalink
fix notes (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanato authored and stylianosrigas committed Jun 19, 2019
1 parent 745a9a5 commit 737891e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/mattermost-enterprise-edition/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Mattermost Enterprise server with high availitibity.
name: mattermost-enterprise-edition
version: 0.11.0
version: 0.11.1
appVersion: 5.12.0
keywords:
- mattermost
Expand Down
6 changes: 3 additions & 3 deletions charts/mattermost-enterprise-edition/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.mattermostApp.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get svc -w {{ template "fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
You can watch the status of by running 'kubectl get svc -w {{ include "fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ .Values.service.externalPort }}
{{- else if contains "ClusterIP" .Values.mattermostApp.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "fullname" . }}" -o jsonpath="{.items[0].metadata.name}")
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "mattermost-enterprise-edition.name" . }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl port-forward $POD_NAME 8080:{{ .Values.mattermostApp.service.externalPort }}
{{- end }}

0 comments on commit 737891e

Please sign in to comment.