From 210569ad37b82e1aa959e8652c171cb439d109d3 Mon Sep 17 00:00:00 2001 From: jackyliu Date: Tue, 2 Sep 2025 07:08:06 +0000 Subject: [PATCH] feat: Add prepare script for setting up Kubernetes application directories and configuration --- prepare.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 prepare.sh diff --git a/prepare.sh b/prepare.sh new file mode 100644 index 0000000..9802cdd --- /dev/null +++ b/prepare.sh @@ -0,0 +1,9 @@ +# 创建目录 +mkdir -p ~/.ocdp/kube/applications +mkdir -p ~/.ocdp/kube/logs + +# 创建空的 kubectl 配置文件(如果还没有) +touch ~/.ocdp/kube/config + +# 复制配置文件 +cp ./config.yaml ~/.ocdp/config.yaml \ No newline at end of file