Skip to content

Commit

Permalink
Set the proxy's destination service address env var
Browse files Browse the repository at this point in the history
Signed-off-by: ihcsim <ihcsim@gmail.com>
  • Loading branch information
ihcsim committed Jul 26, 2019
1 parent 1006ea9 commit 59a3eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/partials/templates/_proxy.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59a3eef

Please sign in to comment.