controller-runtime icon indicating copy to clipboard operation
controller-runtime copied to clipboard

Expose TLS configuration options for default webhook server creation

Open srm09 opened this issue 3 years ago • 0 comments

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.

srm09 avatar Oct 12 '22 18:10 srm09