Commit 3b570c24 authored by Wen Wei Li's avatar Wen Wei Li

change ownership of .kube/config

parent 447a3ec2
......@@ -217,6 +217,8 @@ copy_k8s_config(){
mkdir -p $HOME/.kube
cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
chown -R $USER:$USER $HOME/.kube/
chown -R $USER:$USER $HOME/.kube/config
}
copy_host_file(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment