Ignore reading-only judgment
This commit is contained in:
parent
a3c777afd1
commit
d61748d241
@ -80,7 +80,7 @@ func (c *criService) mutateImageMount(
|
|||||||
return fmt.Errorf("hostpath must be empty while mount image: %+v", extraMount)
|
return fmt.Errorf("hostpath must be empty while mount image: %+v", extraMount)
|
||||||
}
|
}
|
||||||
if !extraMount.GetReadonly() {
|
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()
|
ref := imageSpec.GetImage()
|
||||||
|
Loading…
Reference in New Issue
Block a user