From b7dd07bb82126ae4e4955d4d6e54ec13ac6ff0c1 Mon Sep 17 00:00:00 2001 From: rambohe Date: Tue, 24 Oct 2023 11:20:13 +0800 Subject: [PATCH] make yurthub can cache metadata for raven agent (#1745) --- pkg/yurthub/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/yurthub/util/util.go b/pkg/yurthub/util/util.go index f4c6df880e5..a291d7ef376 100644 --- a/pkg/yurthub/util/util.go +++ b/pkg/yurthub/util/util.go @@ -81,7 +81,7 @@ const ( ) var ( - DefaultCacheAgents = []string{"kubelet", "kube-proxy", "flanneld", "coredns", projectinfo.GetAgentName(), projectinfo.GetHubName(), coordinatorconstants.DefaultPoolScopedUserAgent} + DefaultCacheAgents = []string{"kubelet", "kube-proxy", "flanneld", "coredns", "raven-agent-ds", projectinfo.GetAgentName(), projectinfo.GetHubName(), coordinatorconstants.DefaultPoolScopedUserAgent} YurthubConfigMapName = fmt.Sprintf("%s-hub-cfg", strings.TrimRightFunc(projectinfo.GetProjectPrefix(), func(c rune) bool { return c == '-' })) )