Skip to content

fix: misbehaving when editing or deleting an image of the same name

Created by: zhaohuiweixiao

Signed-off-by: zhaohuihui zhaohuihui_yewu@cmss.chinamobile.com

What type of PR is this?

/kind bug /kind feature

What this PR does / why we need it:

  1. When a container with the same name is edited, the modified container configuration is always updated to the first container with the same name.
  2. When a container with the same name is deleted, all containers with the same name are deleted GIF

In addition, duplicate container names are not allowed in the kubernetes, So It is necessary to add duplicate name validation to avoid the operation bug of same container name. container不允许重名 image

Special notes for reviewers:

/assign harrisonliu5

Does this PR introduced a user-facing change?

feat: add duplicate name validation to the container name

合并请求报告

加载中