From 59a3eef93c9705c1e449068db360e3c0efcb3474 Mon Sep 17 00:00:00 2001 From: ihcsim Date: Thu, 25 Jul 2019 21:21:43 -0700 Subject: [PATCH] Set the proxy's destination service address env var Signed-off-by: ihcsim --- charts/partials/templates/_proxy.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/partials/templates/_proxy.tpl b/charts/partials/templates/_proxy.tpl index 6f610c29bf759..89905af30c759 100644 --- a/charts/partials/templates/_proxy.tpl +++ b/charts/partials/templates/_proxy.tpl @@ -3,7 +3,7 @@ - name: LINKERD2_PROXY_LOG value: {{.LogLevel}} - name: LINKERD2_PROXY_DESTINATION_SVC_ADDR - value: localhost.:8086 + value: {{ternary "localhost.:8086" (printf "linkerd-destination.%s.svc.%s:8086" .ControlPlaneNamespace .ClusterDomain) (eq .Component "controller")}} - name: LINKERD2_PROXY_CONTROL_LISTEN_ADDR value: 0.0.0.0:{{.Port.Control}} - name: LINKERD2_PROXY_ADMIN_LISTEN_ADDR