Commit e731170c by tingweiwang

fix sed src路径问题

1 parent d27f0e51
Showing with 1 additions and 3 deletions
...@@ -24,7 +24,7 @@ sed -i s@$IMAGE_NAME@IMAGE_NAME@g k8s_yaml/kpl-launcher/deployment.yaml ...@@ -24,7 +24,7 @@ sed -i s@$IMAGE_NAME@IMAGE_NAME@g k8s_yaml/kpl-launcher/deployment.yaml
private_sed_image_name() { private_sed_image_name() {
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-scheduler:latest@harbor_host/k8s/vc-scheduler:latest@g /workspace/seetaas/src/kpl-launcher/k8s_yaml/volcano/volcano-development.yaml sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-scheduler:latest@harbor_host/k8s/vc-scheduler:latest@g /workspace/seetaas/src/kpl-launcher/k8s_yaml/volcano/volcano-development.yaml
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-webhook-manager:latest@harbor_host/k8s/vc-webhook-manager:latest@g /workspace/seetaas/src/kpl-launcher/k8s_yaml/volcano/volcano-development.yaml sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-webhook-manager:latest@harbor_host/k8s/vc-webhook-manager:latest@g /workspace/seetaas/src/kpl-launcher/k8s_yaml/volcano/volcano-development.yaml
sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-controller-manager:latest@harbor_host/k8s/vc-controller-manager:latest@g /workspace/seetaas/kpl-launcher/k8s_yaml/volcano/volcano-development.yaml sed -i s@hub.kce.ksyun.com/aivc/volcanosh/vc-controller-manager:latest@harbor_host/k8s/vc-controller-manager:latest@g /workspace/seetaas/src/kpl-launcher/k8s_yaml/volcano/volcano-development.yaml
sed -i s@IMAGE_NAME@harbor_host/k8s/$PRI_IMAGE_NAME@g /workspace/seetaas/src/kpl-launcher/k8s_yaml/kpl-launcher/deployment.yaml sed -i s@IMAGE_NAME@harbor_host/k8s/$PRI_IMAGE_NAME@g /workspace/seetaas/src/kpl-launcher/k8s_yaml/kpl-launcher/deployment.yaml
} }
###################################################################### ######################################################################
...@@ -66,5 +66,3 @@ private_deploy) ...@@ -66,5 +66,3 @@ private_deploy)
*) *)
echo "please input (redeploy_all or private_deploy)" echo "please input (redeploy_all or private_deploy)"
esac esac
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!