Skip to content

Commit

Permalink
added label selector
Browse files Browse the repository at this point in the history
  • Loading branch information
yijie-04 committed Mar 29, 2024
1 parent df52988 commit d42ec72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions control-plane/cmd/kafka-controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
"knative.dev/pkg/injection/sharedmain"
"knative.dev/pkg/signals"

"knative.dev/eventing/pkg/auth"
"knative.dev/eventing/pkg/eventingtls"

"knative.dev/eventing-kafka-broker/control-plane/pkg/config"
Expand Down Expand Up @@ -64,6 +65,7 @@ func main() {
ctx := signals.NewContext()
ctx = filteredFactory.WithSelectors(ctx,
eventingtls.TrustBundleLabelSelector,
auth.OIDCLabelSelector,
)
ctx = clientpool.WithKafkaClientPool(ctx)

Expand Down

0 comments on commit d42ec72

Please sign in to comment.