diff --git a/jaeger/injector/mutator/patch.go b/jaeger/injector/mutator/patch.go index 233aa8df3e123..a6a90d0122373 100644 --- a/jaeger/injector/mutator/patch.go +++ b/jaeger/injector/mutator/patch.go @@ -46,6 +46,14 @@ const tpl = `[ "value": "{{.CollectorSvcAccount}}.serviceaccount.identity.{{.LinkerdNamespace}}.{{.ClusterDomain}}" } }, + { + "op": "add", + "path": "/spec/{{.ProxyPath}}/env/-", + "value": { + "name": "LINKERD2_PROXY_TRACE_EXTRA_ATTRIBUTES", + "value": "k8s.pod.uid=$(_pod_uid),k8s.container.name=$(_pod_containerName)" + } + }, { "op": "add", "path": "/spec/{{.ProxyPath}}/volumeMounts/-",