mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 19:36:22 +00:00
Automatic merge from submit-queue (batch tested with PRs 63914, 63887, 64116, 64026, 62933). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Enable SELinux relabeling in CSI volumes **What this PR does / why we need it**: CSI volume plugin should provide correct information in `GetAttributes` call so kubelet can ask container runtime to relabel the volume. Therefore CSI volume plugin needs to check if a random volume mounted by a CSI driver supports SELinux or not by checking for "seclabel" mount or superblock option. **Which issue(s) this PR fixes** Fixes #63965 **Release note**: ```release-note NONE ``` @saad-ali @vladimirvivien @davidz627 @cofyc, FYI, I'm changing `struct mountInfo`.