From f72ea9e256890a8c6da7e391ca79b2ce9aed3c4a Mon Sep 17 00:00:00 2001 From: Rafael Saback Date: Tue, 31 Dec 2019 10:42:23 +0100 Subject: [PATCH] Skip keystone's authentication for additional contrail-clusters request The annotations field will be necessary for Contrail Insights login. The cluster type will be defined within the annotations field. --- pkg/keystone/middleware.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/keystone/middleware.go b/pkg/keystone/middleware.go index b0e306a386..e776224848 100644 --- a/pkg/keystone/middleware.go +++ b/pkg/keystone/middleware.go @@ -26,6 +26,7 @@ import ( func GetAuthSkipPaths() ([]string, error) { skipPaths := []string{ "/contrail-clusters?fields=uuid,name", + "/contrail-clusters?fields=uuid,name,annotations", "/keystone/v3/auth/tokens", // TODO(dfurman): "server.dynamic_proxy_path" or DefaultDynamicProxyPath should be used "/proxy/",