diff --git a/pkg/apiserver/authn.go b/pkg/apiserver/authn.go index f606ba4bc4d..9b516c9c4b9 100644 --- a/pkg/apiserver/authn.go +++ b/pkg/apiserver/authn.go @@ -49,7 +49,7 @@ func NewAuthenticator(clientCAFile string, tokenFile string) (authenticator.Requ return nil, nil } if len(authenticators) == 1 { - return authenticators[1], nil + return authenticators[0], nil } return union.New(authenticators...), nil