From 807f080b2bd6885e517a3c61fe13b058a0bbef60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Rodr=C3=ADguez=20Hern=C3=A1ndez?= Date: Fri, 28 Sep 2018 18:24:21 +0200 Subject: [PATCH] [stable/orangehrm] Improve getting LoadBalancer address in NOTES.txt (#8043) Signed-off-by: Carlos Rodriguez Hernandez --- stable/orangehrm/Chart.yaml | 4 ++-- stable/orangehrm/templates/NOTES.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stable/orangehrm/Chart.yaml b/stable/orangehrm/Chart.yaml index 99b48bcf2d..58bf196e64 100644 --- a/stable/orangehrm/Chart.yaml +++ b/stable/orangehrm/Chart.yaml @@ -1,5 +1,5 @@ name: orangehrm -version: 3.0.1 +version: 3.0.2 appVersion: 4.1.2 description: OrangeHRM is a free HR management system that offers a wealth of modules to suit the needs of your business. @@ -15,7 +15,7 @@ home: https://www.orangehrm.com sources: - https://github.com/bitnami/bitnami-docker-orangehrm maintainers: -- name: bitnami-bot +- name: Bitnami email: containers@bitnami.com engine: gotpl icon: https://bitnami.com/assets/stacks/orangehrm/img/orangehrm-stack-110x117.png diff --git a/stable/orangehrm/templates/NOTES.txt b/stable/orangehrm/templates/NOTES.txt index 8ba504eada..5206d8f1a5 100644 --- a/stable/orangehrm/templates/NOTES.txt +++ b/stable/orangehrm/templates/NOTES.txt @@ -15,7 +15,7 @@ ** Please ensure an external IP is associated to the {{ template "orangehrm.fullname" . }} service before proceeding ** ** Watch the status using: kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "orangehrm.fullname" . }} ** - export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "orangehrm.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}') + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "orangehrm.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") echo "OrangeHRM URL: http://$SERVICE_IP/" {{- else if contains "ClusterIP" .Values.serviceType }}