Skip to content

Commit

Permalink
bugfix: add ignore preflight errors to adapt kubeadm before version 1…
Browse files Browse the repository at this point in the history
….23.0

Signed-off-by: HIHIA <[email protected]>
  • Loading branch information
YTGhost committed Dec 7, 2022
1 parent cf02f61 commit f6f61c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/yurtadm/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ nodeRegistration:
name: {{.name}}
ignorePreflightErrors:
- FileAvailable--etc-kubernetes-kubelet.conf
- DirAvailable--etc-kubernetes-manifests
{{- range $index, $value := .ignorePreflightErrors}}
- {{$value}}
{{- end}}
Expand Down

0 comments on commit f6f61c1

Please sign in to comment.