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