controller-runtime
controller-runtime copied to clipboard
Expose TLS configuration options for default webhook server creation
Similar to the flags for Webhook Port and Host, we should also expose flags for setting the minimum TLS version as well as the cipher suites to be used when creating the default webhook server.
Currently, to set the minimum TLS version, a hack would be to call manager.GetWebhookServer().TLSMinVersion before calling manager.Start(). To keep the behavior consistent, it makes sense to introduce new options in the manager.Options struct which allow doing the same.