[stable/phpmyadmin] Improve getting LoadBalancer address in NOTES.txt (#8038)

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2018-09-28 08:14:17 -07:00
committed by k8s-ci-robot
parent 85c03800b9
commit 1f414dbca9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
name: phpmyadmin
version: 1.1.0
version: 1.1.1
appVersion: 4.8.2
description: phpMyAdmin is an mysql administration frontend
keywords:
@@ -11,6 +11,6 @@ icon: https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/PhpMyAdmin_logo.
sources:
- https://github.com/bitnami/bitnami-docker-phpmyadmin
maintainers:
- name: bitnami-bot
- name: Bitnami
email: containers@bitnami.com
engine: gotpl
+1 -1
View File
@@ -19,7 +19,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 {{ template "phpmyadmin.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "phpmyadmin.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "phpmyadmin.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo "phpMyAdmin URL: http://$SERVICE_IP:{{ .Values.service.port }}"
{{- else if contains "ClusterIP" .Values.service.type }}