linkerd2/controller/proxy-injector
Oliver Gould f02730a90d
Check the cluster's config for install & inject (#2535)
The introduction of identity in 0626fa37 created new state in the
control plane's configuration that must be considered when re-installing
the control plane or when injecting pods.

This change alters `install` to fail if it would seem to conflict with
an existing installation. This behavior may be disabled with the
`--ignore-cluster` flag.

Furthermore, `inject` now _requires_ that it can fetch a configuration
from the control plane in order to operate. Otherwise the
`--ignore-cluster` and `--disable-identity` flags must be specified.

This change does not actually instrument pods to use identity yet---it
lays the framework for proxy identity without changing the test fixture
output (besides a change to how identity HA is configured).

Fixes #2531
2019-03-21 12:49:46 -07:00
..
fake proxy: Upgrade to identity-capable proxy (#2524) 2019-03-19 14:20:39 -07:00
tmpl Update proxy injector webhook to pick up deployment UPDATE events (#2332) 2019-02-21 08:25:02 -08:00
server.go Remove `--tls=optional` and `linkerd-ca` (#2515) 2019-03-18 17:40:31 -07:00
server_test.go Remove `--tls=optional` and `linkerd-ca` (#2515) 2019-03-18 17:40:31 -07:00
webhook.go Check the cluster's config for install & inject (#2535) 2019-03-21 12:49:46 -07:00
webhook_config.go Recreate the MWC when the proxy injector is restarted (#2431) 2019-03-05 15:53:37 -08:00
webhook_config_test.go Recreate the MWC when the proxy injector is restarted (#2431) 2019-03-05 15:53:37 -08:00
webhook_test.go Check the cluster's config for install & inject (#2535) 2019-03-21 12:49:46 -07:00