linkerd2/controller/proxy-injector
Jean-Charles Legras 18755e45cc
Fix support of config.linkerd.io/admin-port annotation (#11031)
When using `linkerd-await` as a preStart hook, we need to explicitly pass in the proxy's admin port if it is not the default (4191). While the admin server listener can be bound to any arbitrary port using `config.linkerd.io/admin-port` as a configuration annotation, `linkerd-await`'s template is not aware of the override resulting in start-up errors.

This change adds the override to `linkerd-await` by always using an explicit `--port` argument.

---------

Signed-off-by: jclegras <11457480+jclegras@users.noreply.github.com>
2023-06-28 10:17:01 +01:00
..
fake Fix support of config.linkerd.io/admin-port annotation (#11031) 2023-06-28 10:17:01 +01:00
metrics.go Enable gocritic linting (#7906) 2022-02-17 22:45:25 +00:00
webhook.go Use metadata API in the proxy and tap injectors (#9650) 2022-11-16 09:21:39 -05:00
webhook_test.go Removed dupe imports (#10049) 2023-01-10 14:34:56 -05:00