Merge pull request #4699 from dweomer/selinx-relabel-dev-shm

cri: selinux relabel /dev/shm
This commit is contained in:
Michael Crosby 2020-11-09 12:12:35 -05:00 committed by GitHub
commit 293b08dd19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,6 +102,7 @@ func (c *criService) containerMounts(sandboxID string, config *runtime.Container
ContainerPath: devShm,
HostPath: sandboxDevShm,
Readonly: false,
SelinuxRelabel: true,
})
}
return mounts