From be2a5724c2ace2ca80d0217fcfa1ce2fc0c75636 Mon Sep 17 00:00:00 2001 From: wangdepeng Date: Tue, 28 May 2024 18:47:19 +0800 Subject: [PATCH] fix: failed to execute workflow when anp pod is not ready Signed-off-by: wangdepeng --- pkg/kubenest/tasks/anp.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/kubenest/tasks/anp.go b/pkg/kubenest/tasks/anp.go index e257a3811..69f74bd46 100644 --- a/pkg/kubenest/tasks/anp.go +++ b/pkg/kubenest/tasks/anp.go @@ -41,6 +41,10 @@ func NewAnpTask() workflow.Task { Name: "deploy-anp-agent", Run: runAnpAgent, }, + { + Name: "check-anp-health", + Run: runCheckVirtualClusterAPIServer, + }, }, } }