Skip to content

Commit

Permalink
added OIDC label selector in mtping
Browse files Browse the repository at this point in the history
  • Loading branch information
yijie-04 committed Jan 12, 2024
1 parent 08dbe1e commit d3205ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/mtping/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
filteredFactory "knative.dev/pkg/client/injection/kube/informers/factory/filtered"
"knative.dev/pkg/signals"

"knative.dev/eventing/pkg/apis/sources"
"knative.dev/eventing/pkg/adapter/mtping"
"knative.dev/eventing/pkg/adapter/v2"
"knative.dev/eventing/pkg/eventingtls"
Expand Down Expand Up @@ -57,6 +58,7 @@ func main() {
})

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

Expand Down

0 comments on commit d3205ab

Please sign in to comment.