mirror of https://github.com/k3s-io/k3s
Validate etcd only when expecting to run etcd
parent
becd626c8e
commit
0dc99ef80f
|
@ -806,7 +806,9 @@ fi
|
|||
}
|
||||
|
||||
# validate that etcd is: not running, in path, and has minimum required version.
|
||||
kube::etcd::validate
|
||||
if [[ "${START_MODE}" != "kubeletonly" ]]; then
|
||||
kube::etcd::validate
|
||||
fi
|
||||
|
||||
if [ "${CONTAINER_RUNTIME}" == "docker" ] && ! kube::util::ensure_docker_daemon_connectivity; then
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue