This commit is contained in:
2026-01-17 00:04:10 +08:00
parent 7787337f13
commit c0ca1c819e
3 changed files with 50 additions and 3 deletions

View File

@@ -1,2 +1,5 @@
echo "${KUBECONFIG_DATA}" | base64 -d > ~/.kube/config
chmod 600 ~/.kube/config
chmod 600 ~/.kube/config
# 把 kube 配置转为 base64 编码输出,方便后续使用
# cat ~/.kube/config | base64 -w 0