linkerd2/pkg/k8s
Ivan Sim 0d489d3099
Add debug container annotation (#2842)
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>
2019-05-24 10:11:06 -07:00
..
testdata Fix handling of kubeconfig server urls that include paths (#2305) 2019-02-18 17:57:27 -08:00
api.go Use port-forwarding for linkerd CLIs (#2757) 2019-05-02 14:41:26 +02:00
authz.go Fix Service Profile CRD check to handle k8s errors (#2781) 2019-05-03 19:51:39 +02:00
authz_test.go Fix Service Profile CRD check to handle k8s errors (#2781) 2019-05-03 19:51:39 +02:00
fake.go Fix Service Profile CRD check to handle k8s errors (#2781) 2019-05-03 19:51:39 +02:00
fake_test.go Introduce k8s apiextensions support (#2759) 2019-04-28 18:55:22 -07:00
k8s.go Use port-forwarding for linkerd CLIs (#2757) 2019-05-02 14:41:26 +02:00
k8s_test.go Use port-forwarding for linkerd CLIs (#2757) 2019-05-02 14:41:26 +02:00
kubectl.go Check kubectl version as part of checks (#2358) 2019-03-01 10:03:59 -08:00
kubectl_test.go Check kubectl version as part of checks (#2358) 2019-03-01 10:03:59 -08:00
labels.go Add debug container annotation (#2842) 2019-05-24 10:11:06 -07:00
labels_test.go Provide peer Identities via the Destination API (#2537) 2019-03-22 09:19:14 -07:00
portforward.go Use port-forwarding for linkerd CLIs (#2757) 2019-05-02 14:41:26 +02:00
portforward_test.go Introduce k8s apiextensions support (#2759) 2019-04-28 18:55:22 -07:00
version.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00
version_test.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00