linkerd2/controller/cmd
Alejandro Pedraza 4687dc52aa
Refactor webhook framework to allow webhooks define their flags (#5256)
* Refactor webhook framework to allow webhook define their flags

Pulled out of `launcher.go` the flag parsing logic and moved it into the `Main` methods of the webhooks (under `controller/cmd/proxy.injector/main.go` and `controller/cmd/sp-validator/main.go`), so that individual webhooks themselves can define the flags they want to use.

Also no longer require that webhooks have cluster-wide access.

Finally, renamed the type `webhook.handlerFunc` to `webhook.Handler` so it can be exported. This will be used in the upcoming jaeger webhook.
2020-11-23 10:40:30 -05:00
..
destination Remove dependency of linkerd-config for control plane components (#4915) 2020-10-06 22:19:18 +05:30
heartbeat Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
identity Remove dependency of linkerd-config for control plane components (#4915) 2020-10-06 22:19:18 +05:30
proxy-injector Refactor webhook framework to allow webhooks define their flags (#5256) 2020-11-23 10:40:30 -05:00
public-api Remove dependency of linkerd-config for control plane components (#4915) 2020-10-06 22:19:18 +05:30
service-mirror Bump k8s client-go to v0.19.2 (#5002) 2020-09-28 12:45:18 -05:00
sp-validator Refactor webhook framework to allow webhooks define their flags (#5256) 2020-11-23 10:40:30 -05:00
tap Remove dependency of linkerd-config for control plane components (#4915) 2020-10-06 22:19:18 +05:30
main.go Service Mirroring Component (#4028) 2020-03-02 21:16:08 +02:00