mirror of https://github.com/knative/pkg.git
Fix the webhook workqueue names (#1245)
This commit is contained in:
parent
8ddda31a35
commit
8c3cf6f2ee
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Reference in New Issue