Fix go template inside go template

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodriguez Hernandez
2018-09-28 13:10:14 +00:00
parent 21ff639d1a
commit a140313f49
13 changed files with 13 additions and 13 deletions

View File

@@ -23,7 +23,7 @@ In order to access to the Consul Web UI:
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "consul.fullname" . }}-ui'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "consul.fullname" . }}-ui --template "{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}")
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "consul.fullname" . }}-ui --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}"
echo "Consul URL: http://$SERVICE_IP:{{ .Values.uiPort }}/"