Skip to content

Commit

Permalink
Revert "test: remove istio_authn HTTP filter"
Browse files Browse the repository at this point in the history
This reverts commit b444bd2.
  • Loading branch information
kyessenov committed Oct 17, 2023
1 parent 0ed6ef9 commit ea73ad6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions pilot/pkg/networking/plugin/authn/authentication.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,10 @@ func (b *Builder) BuildHTTP(class networking.ListenerClass) []*hcm.HttpFilter {
if filter := b.applier.JwtFilter(); filter != nil {
res = append(res, filter)
}
/*
forSidecar := b.proxy.Type == model.SidecarProxy
if filter := b.applier.AuthNFilter(forSidecar); filter != nil {
res = append(res, filter)
}
*/
forSidecar := b.proxy.Type == model.SidecarProxy
if filter := b.applier.AuthNFilter(forSidecar); filter != nil {
res = append(res, filter)
}

return res
}
Expand Down

0 comments on commit ea73ad6

Please sign in to comment.