This commit removes the dependency on
`github.com/brancz/kube-rbac-proxy` which was only needed to reload the
TLS certificate and key files dynamically.
Instead the operator and admission webhook server use the
`DynamicServingCertificateController` from `k8s.io/apiserver` which is a
proven solution.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Share parsing for the logging flags across all binaries.
* Refactor and share the web server implementation between the operator
and the admission webhook.
* Refactor controller configuration structs to include only the required
parameters.
* Parse label and field selector arguments early instead of doing it in
each controller.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>