建木CICD自动化部署环节

2023-09-11  本文已影响0人  sexy_cyber
cd $EXE_PATH
sed -i "s/spider:[^[:space:]]*/spider:$DOCKER_IMAGE_TAG/" k8s.yml
apt update
apt install curl -y
curl -H "Authorization: Bearer TFq5LmM2w" \
     -H "Content-Type: application/yaml" \
     -X PUT \
     --data-binary "@k8s.yml" \
     https://www.sing.top/k8sapi/apis/apps/v1/namespaces/default/deployments/spiders
上一篇下一篇

猜你喜欢

热点阅读