[stable/orangehrm] Improve getting LoadBalancer address in NOTES.txt (#8043)

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2018-09-28 09:24:21 -07:00
committed by k8s-ci-robot
parent ced801b95e
commit 807f080b2b
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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 }}