mirror of https://github.com/linkerd/linkerd2.git
* 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. |
||
---|---|---|
.. | ||
main.go |