Skip to content

Commit

Permalink
Merge pull request #1 from yijie-04/main
Browse files Browse the repository at this point in the history
added label selector
  • Loading branch information
karkabbage authored Mar 29, 2024
2 parents 7eafae0 + d42ec72 commit 67b9c9a
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,

Check warning on line 68 in control-plane/cmd/kafka-controller/main.go

View check run for this annotation

Codecov / codecov/patch

control-plane/cmd/kafka-controller/main.go#L68

Added line #L68 was not covered by tests
)
ctx = clientpool.WithKafkaClientPool(ctx)

Expand Down

0 comments on commit 67b9c9a

Please sign in to comment.