mirror of
https://github.com/bitnami/charts.git
synced 2026-03-27 15:27:10 +08:00
Fix go template inside go template
Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
@@ -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 }}/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user