From 1287ca82b476b2940617f8953451f0356e8d2199 Mon Sep 17 00:00:00 2001 From: Alexander Klizhentas Date: Thu, 10 Oct 2019 11:17:45 -0700 Subject: [PATCH] Fix regression with K8s trusted clusters (#3070) (#3074) --- lib/kube/proxy/forwarder.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/kube/proxy/forwarder.go b/lib/kube/proxy/forwarder.go index bb7acb338e8ff..e9a180c46fc49 100644 --- a/lib/kube/proxy/forwarder.go +++ b/lib/kube/proxy/forwarder.go @@ -381,6 +381,7 @@ func (f *Forwarder) setupContext(ctx auth.AuthContext, req *http.Request, isRemo if err != nil { return nil, trace.Wrap(err) } + isRemoteCluster = targetCluster.GetName() != f.ClusterName } else { // DELETE IN(4.3.0) // This logic is deprecated and after the second upgrade, will not be used