From a47132a7b907679068df95dd22cb49d1410ab42f Mon Sep 17 00:00:00 2001 From: Charlie Date: Thu, 7 Nov 2019 08:02:46 -0600 Subject: [PATCH] fix the mattermostApp externalPort variable (#110) * fix the mattermostApp externalPort variable * bump chart --- charts/mattermost-enterprise-edition/Chart.yaml | 2 +- charts/mattermost-enterprise-edition/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/mattermost-enterprise-edition/Chart.yaml b/charts/mattermost-enterprise-edition/Chart.yaml index 064c48a2..79513a05 100644 --- a/charts/mattermost-enterprise-edition/Chart.yaml +++ b/charts/mattermost-enterprise-edition/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Mattermost Enterprise server with high availitibity. name: mattermost-enterprise-edition -version: 1.0.0 +version: 1.0.1 appVersion: 5.15.0 keywords: - mattermost diff --git a/charts/mattermost-enterprise-edition/templates/NOTES.txt b/charts/mattermost-enterprise-edition/templates/NOTES.txt index 25d88b90..3874eb5d 100644 --- a/charts/mattermost-enterprise-edition/templates/NOTES.txt +++ b/charts/mattermost-enterprise-edition/templates/NOTES.txt @@ -11,7 +11,7 @@ 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 {{ 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 }} + echo http://$SERVICE_IP:{{ .Values.mattermostApp.service.externalPort }} {{- else if contains "ClusterIP" .Values.mattermostApp.service.type }} 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"