iSula版本信息及项目分支
master 2.1.5
操作系统版本及编译器版本
openeuler
问题描述及重现步骤
cdi spec文件使用不符合规则的格式:
如果spec或者device层级使用annotations字段,要求cdi_version字段为v0.6.0版本
如果device_nodes使用了hostPath字段,要求cdi_version字段为v0.5.0版本以及以上
如果mounts使用了type字段,要求cdi_version字段为v0.4.0版本以及以上
实际结果为:即使使用的字段和版本不匹配,也可以读取spec
预期结果
不匹配version的cdi spec无法被isulad识别,日志会打印提示该spec至少要求version为多少
Hi liuxu180400617, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: iSulad, and any of the maintainers: @haomintsai , @JingWoo , @lifeng_isula , @xuxuepeng , @zhongtao , @haozi007 , @jingxiaolu
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论