Skip to content

Commit

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

"knative.dev/eventing/pkg/adapter/apiserver"
"knative.dev/eventing/pkg/adapter/v2"
"knative.dev/eventing/pkg/apis/sources"
"knative.dev/eventing/pkg/eventingtls"
)

Expand All @@ -34,6 +35,7 @@ func main() {
ctx = adapter.WithInjectorEnabled(ctx)

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

Expand Down

0 comments on commit 3d3bd2c

Please sign in to comment.