[stable/odoo] Improve getting LoadBalancer address in NOTES.txt (#8044)

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2018-09-28 09:24:31 -07:00
committed by k8s-ci-robot
parent 807f080b2b
commit 045449d81f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: odoo
version: 3.0.0
version: 3.0.1
appVersion: 11.0.20180915
description: A suite of web based open source business apps.
home: https://www.odoo.com/
+1 -1
View File
@@ -25,7 +25,7 @@
** Please ensure an external IP is associated to the {{ template "odoo.fullname" . }} service before proceeding **
** Watch the status using: kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "odoo.fullname" . }} **
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "odoo.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "odoo.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo "Odoo URL: http://$SERVICE_IP/"
{{- else if contains "ClusterIP" .Values.service.type }}