diff --git a/stable/odoo/Chart.yaml b/stable/odoo/Chart.yaml index c024bf5d30..ae5a714686 100644 --- a/stable/odoo/Chart.yaml +++ b/stable/odoo/Chart.yaml @@ -1,5 +1,5 @@ name: odoo -version: 2.0.5 +version: 2.0.6 appVersion: 11.0.20180715 description: A suite of web based open source business apps. home: https://www.odoo.com/ diff --git a/stable/odoo/templates/NOTES.txt b/stable/odoo/templates/NOTES.txt index cab4dd615a..3501a58367 100644 --- a/stable/odoo/templates/NOTES.txt +++ b/stable/odoo/templates/NOTES.txt @@ -18,7 +18,7 @@ export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "odoo.fullname" . }}) export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") - echo http://$NODE_IP:$NODE_PORT/ + echo "Odoo URL: http://$NODE_IP:$NODE_PORT/" {{- else if contains "LoadBalancer" .Values.service.type }} @@ -26,12 +26,12 @@ ** 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}') - echo http://$SERVICE_IP/ + echo "Odoo URL: http://$SERVICE_IP/" {{- else if contains "ClusterIP" .Values.service.type }} - export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "odoo.fullname" . }}" -o jsonpath="{.items[0].metadata.name}") - echo http://127.0.0.1:8080/ - kubectl port-forward $POD_NAME 8080:80 + echo "Odoo URL: http://127.0.0.1:8080/" + kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "odoo.fullname" . }} 8080:80 + {{- end }} {{- end }}