add the code cp kubectl config file from ~/.kube/config to ~/.ocdp/kube/config

This commit is contained in:
Ivan087
2025-09-02 15:14:02 +08:00
parent 210569ad37
commit 0ded323d06
2 changed files with 3 additions and 3 deletions

4
prepare.sh Normal file → Executable file
View File

@ -3,7 +3,7 @@ mkdir -p ~/.ocdp/kube/applications
mkdir -p ~/.ocdp/kube/logs
# 创建空的 kubectl 配置文件(如果还没有)
touch ~/.ocdp/kube/config
cp ~/.kube/config ~/.ocdp/kube/config
# 复制配置文件
cp ./config.yaml ~/.ocdp/config.yaml
cp ./config.yaml ~/.ocdp/config.yaml