Files
CmiiDeploy/84-202605-北京三河测试/批量更新-prompt.md
2026-05-19 14:28:44 +08:00

14 lines
912 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

cmlc=cmii=cmii-uas-gateway=2.3.0-pro-20260226.tar.gz
cmlc=cmii=cmii-uas-lifecycle=2.3.0-pro-20260304.tar.gz
cmlc=cmii=cmii-uas-perception-live=2.3.0-pro-20260226.tar.gz
cmlc=cmii=cmii-uas-datahub=2.3.0-pro-20260311.tar.gz
cmlc=cmii=cmii-uav-material-warehouse=2.3.0-pro-20260225.tar.gz
cmlc=cmii=cmii-uav-data-center=2.3.0-pro-20260225.tar.gz
cmlc=cmii=cmii-uav-platform-uasms=2.3.0-pro-20260312.tar.gz
cmlc=cmii=cmii-uav-platform-uas=2.3.0-pro-20260312.tar.gz
cmlc=cmii=cmii-uas-fusion=2.2.0-112.tar.gz
cmlc=cmii=cmii-uav-iot-dispatcher=2.3.0-20260211-fix-live-record-v4.tar.gz
我有一个文档的内容如上你需要实现一个shell脚本实现如下的功能
1. 命名空间为bj-sh-uas-260511
2. 以=为分隔符号提取deployment名称为第三项 例如cmii-uas-gateway 提取镜像的Tag为第四项 例如 2.3.0-pro-20260226
3. 使用kubectl一次更新每个deployment对应的镜像Tag