Skip to content

Commit

Permalink
Revert server.WithServiceAccountRewrite in proxy
Browse files Browse the repository at this point in the history
Signed-off-by: Dr. Stefan Schimanski <[email protected]>
  • Loading branch information
sttts committed Aug 24, 2024
1 parent 95efd25 commit 4b188ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/proxy/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ func NewServer(ctx context.Context, c CompletedConfig) (*Server, error) {
if err != nil {
return s, err
}

handler = server.WithServiceAccountRewrite(handler)

failedHandler := frontproxyfilters.NewUnauthorizedHandler()
handler = frontproxyfilters.WithOptionalAuthentication(
handler,
Expand Down

0 comments on commit 4b188ca

Please sign in to comment.