add the code cp kubectl config file from ~/.kube/config to ~/.ocdp/kube/config
This commit is contained in:
2
prepare.sh
Normal file → Executable file
2
prepare.sh
Normal file → Executable file
@ -3,7 +3,7 @@ mkdir -p ~/.ocdp/kube/applications
|
|||||||
mkdir -p ~/.ocdp/kube/logs
|
mkdir -p ~/.ocdp/kube/logs
|
||||||
|
|
||||||
# 创建空的 kubectl 配置文件(如果还没有)
|
# 创建空的 kubectl 配置文件(如果还没有)
|
||||||
touch ~/.ocdp/kube/config
|
cp ~/.kube/config ~/.ocdp/kube/config
|
||||||
|
|
||||||
# 复制配置文件
|
# 复制配置文件
|
||||||
cp ./config.yaml ~/.ocdp/config.yaml
|
cp ./config.yaml ~/.ocdp/config.yaml
|
||||||
Reference in New Issue
Block a user