linkerd2/test/inject
Alejandro Pedraza 62d9a80894
New `linkerd inject` default and manual modes (#2721)
Fixes #2720 and 2711 

This changes the default behavior of `linkerd inject` to not inject the
proxy but just the `linkerd.io/inject: enabled` annotation for the
auto-injector to pick it up (regardless of any namespace annotation).

A new `--manual` mode was added, which behaves as before, injecting
the proxy in the command output.

The unit tests are running with `--manual` to avoid any changes in the
fixtures.

Signed-off-by: Alejandro Pedraza <alejandro@buoyant.io>
2019-04-24 09:05:27 -05:00
..
testdata Add config.linkerd.io/disable-identity annotation (#2717) 2019-04-19 19:04:49 -04:00
inject_test.go New `linkerd inject` default and manual modes (#2721) 2019-04-24 09:05:27 -05:00