Move webhooks to separate paths.
@@ -91,9 +91,7 @@ func NewDefaultingAdmissionController(ctx context.Context, cmw configmap.Watcher
"webhook.eventing.knative.dev",
// The path on which to serve the webhook.
- // TODO(mattmoor): This can be changed after 0.11 once
- // we have release reconciliation-based webhooks.
- "/",
+ "/defaulting",
// The resources to validate and default.
ourTypes,
@@ -113,9 +111,7 @@ func NewValidationAdmissionController(ctx context.Context, cmw configmap.Watcher
"validation.webhook.eventing.knative.dev",
// The path on which to serve the webhook.
- // TODO(mattmoor): This can be changed after 0.11 once
- // we have release reconciliation-based webhooks.
- "/",
+ "/resource-validation",
// The resources to validate and default.
ourTypes,
