From 3051b65abbf7ef66c0ecbbbc85226c5c8dee9e2a Mon Sep 17 00:00:00 2001 From: rambohe-ch Date: Mon, 23 Oct 2023 23:49:22 +0800 Subject: [PATCH] make yurthub can cache metadata for raven agent --- 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 == '-' })) )