Skip to content

Commit

Permalink
added OIDC label selector in broker/filter
Browse files Browse the repository at this point in the history
  • Loading branch information
yijie-04 committed Jan 12, 2024
1 parent 3d3bd2c commit f5d583f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/broker/filter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import (

"knative.dev/eventing/cmd/broker"
"knative.dev/eventing/pkg/apis/feature"
"knative.dev/eventing/pkg/apis/sources"
"knative.dev/eventing/pkg/auth"
"knative.dev/eventing/pkg/broker/filter"
brokerinformer "knative.dev/eventing/pkg/client/injection/informers/eventing/v1/broker"
Expand Down Expand Up @@ -81,6 +82,7 @@ func main() {
log.Printf("Registering %d informers", len(injection.Default.GetInformers()))

ctx = filteredFactory.WithSelectors(ctx,
sources.OIDCTokenRoleLabelSelector,
eventingtls.TrustBundleLabelSelector,
)

Expand Down

0 comments on commit f5d583f

Please sign in to comment.