Ignore reading-only judgment
This commit is contained in:
parent
a0bd8c6f2d
commit
a9add11578
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user