mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Update forwarder.go
This commit is contained in:
@@ -284,7 +284,7 @@ func (f *Forwarder) authenticate(req *http.Request) (*authContext, error) {
|
||||
case auth.RemoteUser:
|
||||
isRemoteUser = true
|
||||
case auth.BuiltinRole:
|
||||
f.Warningf("Denying proxy access to unauthenticated user of type %T - this can sometimes be caused by inadvertently sending Kubernetes traffic to the proxy's web port.", userTypeI)
|
||||
f.Warningf("Denying proxy access to unauthenticated user of type %T - this can sometimes be caused by inadvertently using an HTTP load balancer instead of a TCP load balancer on the Kubernetes port.", userTypeI)
|
||||
default:
|
||||
f.Warningf("Denying proxy access to unsupported user type: %T.", userTypeI)
|
||||
return nil, trace.AccessDenied(accessDeniedMsg)
|
||||
|
||||
Reference in New Issue
Block a user