injector: Better comment for NewWebhook
@@ -33,7 +33,7 @@ var (
}
)
-// NewWebhook returns a new webhook object
+// NewWebhook starts a new web server handling requests from the injector MutatingWebhookConfiguration
func NewWebhook(config Config, kubeConfig *rest.Config, certManager certificate.Manager, meshCatalog catalog.MeshCataloger, namespaceController namespace.Controller, osmNamespace string, stop <-chan struct{}) error {
cn := certificate.CommonName(fmt.Sprintf("%s.%s.svc", constants.AggregatedDiscoveryServiceName, osmNamespace))
cert, err := certManager.IssueCertificate(cn)
