From f6f61c178d3c067201f1b551dadf0d68a053bc5e Mon Sep 17 00:00:00 2001 From: HIHIA <283304489@qq.com> Date: Wed, 7 Dec 2022 17:16:33 +0800 Subject: [PATCH] bugfix: add ignore preflight errors to adapt kubeadm before version 1.23.0 Signed-off-by: HIHIA <283304489@qq.com> --- pkg/yurtadm/constants/constants.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/yurtadm/constants/constants.go b/pkg/yurtadm/constants/constants.go index e3b3c5b9cdc..2711c5ae1df 100644 --- a/pkg/yurtadm/constants/constants.go +++ b/pkg/yurtadm/constants/constants.go @@ -177,6 +177,7 @@ nodeRegistration: name: {{.name}} ignorePreflightErrors: - FileAvailable--etc-kubernetes-kubelet.conf + - DirAvailable--etc-kubernetes-manifests {{- range $index, $value := .ignorePreflightErrors}} - {{$value}} {{- end}}