diff --git a/pkg/cortex/cortex.go b/pkg/cortex/cortex.go index ee62bf7ee5..4623ea2c48 100644 --- a/pkg/cortex/cortex.go +++ b/pkg/cortex/cortex.go @@ -344,13 +344,10 @@ func New(cfg Config) (*Cortex, error) { tenant.WithDefaultResolver(tenant.NewMultiResolver()) } - // Don't check auth header on TransferChunks, as we weren't originally - // sending it and this could cause transfers to fail on update. cfg.API.HTTPAuthMiddleware = fakeauth.SetupAuthMiddleware(&cfg.Server, cfg.AuthEnabled, // Also don't check auth for these gRPC methods, since single call is used for multiple users (or no user like health check). []string{ "/grpc.health.v1.Health/Check", - "/cortex.Ingester/TransferChunks", "/frontend.Frontend/Process", "/frontend.Frontend/NotifyClientShutdown", "/schedulerpb.SchedulerForFrontend/FrontendLoop",