add the code cp kubectl config file from ~/.kube/config to ~/.ocdp/kube/config
This commit is contained in:
@ -10,4 +10,4 @@ TOKEN_JWT_SECRET_KEY="****"
|
||||
|
||||
# admin
|
||||
ADMIN_USERNAME="admin"
|
||||
ADMIN_PASSWORD="****"
|
||||
ADMIN_PASSWORD="****"
|
||||
|
||||
4
prepare.sh
Normal file → Executable file
4
prepare.sh
Normal file → Executable 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
|
||||
|
||||
Reference in New Issue
Block a user