Ignore reading-only judgment

This commit is contained in:
wang 2025-03-13 13:07:41 +08:00 committed by Liyi Meng
parent a0bd8c6f2d
commit a9add11578

View File

@ -80,7 +80,7 @@ func (c *criService) mutateImageMount(
return fmt.Errorf("hostpath must be empty while mount image: %+v", extraMount)
}
if !extraMount.GetReadonly() {
return fmt.Errorf("readonly must be true while mount image: %+v", extraMount)
// return fmt.Errorf("readonly must be true while mount image: %+v", extraMount)
}
ref := imageSpec.GetImage()