2 Star 0 Fork 0

mirrors_TencentCloud/hostpathperpod

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deploy.sh 441 Bytes
一键复制 编辑 原始数据 按行查看 历史
yundawang 提交于 2019-09-17 18:28 . add files
#!/bin/sh
set -o errexit
set -o pipefail
VENDOR=cloud.tencent.com
DRIVER=hostpathperpod
# Assuming the single driver file is located at /$DRIVER inside the DaemonSet image.
driver_dir=$VENDOR${VENDOR:+"~"}${DRIVER}
if [ ! -d "/flexmnt/$driver_dir" ]; then
mkdir "/flexmnt/$driver_dir"
fi
cp "/$DRIVER" "/flexmnt/$driver_dir/.$DRIVER"
mv -f "/flexmnt/$driver_dir/.$DRIVER" "/flexmnt/$driver_dir/$DRIVER"
while : ; do
sleep 3600
done
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_TencentCloud/hostpathperpod.git
git@gitee.com:mirrors_TencentCloud/hostpathperpod.git
mirrors_TencentCloud
hostpathperpod
hostpathperpod
master

搜索帮助