Fix the webhook workqueue names (#1245)

This commit is contained in:
Matt Moore 2020-04-25 10:08:49 -07:00 committed by GitHub
parent 8ddda31a35
commit 8c3cf6f2ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ func NewAdmissionController(
}
logger := logging.FromContext(ctx)
c := controller.NewImpl(wh, logger, "ConfigMapWebhook")
c := controller.NewImpl(wh, logger, "DefaultingWebhook")
// Reconcile when the named MutatingWebhookConfiguration changes.
mwhInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{

View File

@ -77,7 +77,7 @@ func NewAdmissionController(
}
logger := logging.FromContext(ctx)
c := controller.NewImpl(wh, logger, "ConfigMapWebhook")
c := controller.NewImpl(wh, logger, "ValidationWebhook")
// Reconcile when the named ValidatingWebhookConfiguration changes.
vwhInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{