Revert "cri: Throw an error if idmap mounts is requested"
This reverts commit 7e6ab84884
.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
This commit is contained in:
parent
e832605a80
commit
a81f80884b
@ -162,9 +162,6 @@ func WithMounts(osi osinterface.OS, config *runtime.ContainerConfig, extra []*ru
|
|||||||
return fmt.Errorf("relabel %q with %q failed: %w", src, mountLabel, err)
|
return fmt.Errorf("relabel %q with %q failed: %w", src, mountLabel, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if mount.UidMappings != nil || mount.GidMappings != nil {
|
|
||||||
return fmt.Errorf("idmap mounts not yet supported, but they were requested for: %q", src)
|
|
||||||
}
|
|
||||||
|
|
||||||
var uidMapping []runtimespec.LinuxIDMapping
|
var uidMapping []runtimespec.LinuxIDMapping
|
||||||
if mount.UidMappings != nil {
|
if mount.UidMappings != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user