mirror of https://github.com/linkerd/linkerd2.git
This new annotation is used by the proxy injector to determine if the debug container needs to be injected. When using 'linkerd install', the 'pkg/inject' library will only inject annotations into the workload YAML. Even though 'conf.debugSidecar' is set in the CLI, the 'injectPodSpec()' function is never invoked on the proxy injector side. Once the workload YAML got picked up by the proxy injector, 'conf.debugSidecar' is already nil, since it's a different, new 'conf' object. The new annotation ensures that the proxy injector injects the debug container. Signed-off-by: Ivan Sim <ivan@buoyant.io> |
||
---|---|---|
.. | ||
testdata | ||
api.go | ||
authz.go | ||
authz_test.go | ||
fake.go | ||
fake_test.go | ||
k8s.go | ||
k8s_test.go | ||
kubectl.go | ||
kubectl_test.go | ||
labels.go | ||
labels_test.go | ||
portforward.go | ||
portforward_test.go | ||
version.go | ||
version_test.go |