mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 12:32:03 +00:00
Minor bug fix in start-kubemark-master script
This commit is contained in:
parent
3fbfafdd0a
commit
1078e9580c
@ -456,7 +456,7 @@ fi
|
|||||||
mkdir -p "${main_etcd_mount_point}/srv/kubernetes"
|
mkdir -p "${main_etcd_mount_point}/srv/kubernetes"
|
||||||
ln -s -f "${main_etcd_mount_point}/srv/kubernetes" /etc/srv/kubernetes
|
ln -s -f "${main_etcd_mount_point}/srv/kubernetes" /etc/srv/kubernetes
|
||||||
# Copy the files to the PD only if they don't exist (so we do it only the first time).
|
# Copy the files to the PD only if they don't exist (so we do it only the first time).
|
||||||
if [[ "$(ls -A {main_etcd_mount_point}/srv/kubernetes/)" == "" ]]; then
|
if [[ "$(ls -A ${main_etcd_mount_point}/srv/kubernetes/)" == "" ]]; then
|
||||||
cp -r "${KUBE_ROOT}"/k8s_auth_data/* "${main_etcd_mount_point}/srv/kubernetes/"
|
cp -r "${KUBE_ROOT}"/k8s_auth_data/* "${main_etcd_mount_point}/srv/kubernetes/"
|
||||||
fi
|
fi
|
||||||
# Directory for kube-apiserver to store SSH key (if necessary).
|
# Directory for kube-apiserver to store SSH key (if necessary).
|
||||||
|
Loading…
Reference in New Issue
Block a user