File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package main
22
33import (
44 "context"
5- "fmt"
65
76 sourcev1alpha1 "github.com/zeiss/knative-extension-sample-source/pkg/apis/sources/v1alpha1"
87 "k8s.io/apimachinery/pkg/runtime/schema"
@@ -12,7 +11,6 @@ import (
1211 "knative.dev/pkg/logging"
1312 "knative.dev/pkg/metrics"
1413 "knative.dev/pkg/signals"
15- "knative.dev/pkg/system"
1614 "knative.dev/pkg/webhook"
1715 "knative.dev/pkg/webhook/certificates"
1816 "knative.dev/pkg/webhook/configmaps"
@@ -77,7 +75,7 @@ func NewConfigValidationController(ctx context.Context, cmw configmap.Watcher) *
7775 return configmaps .NewAdmissionController (ctx ,
7876
7977 // Name of the configmap webhook.
80- fmt . Sprintf ( "config.webhook.%s.knative.dev" , system . Namespace ()) ,
78+ "config.webhook.sample.sources.eventing.zeiss.com" ,
8179
8280 // The path on which to serve the webhook.
8381 "/config-validation" ,
You can’t perform that action at this time.
0 commit comments