Merge pull request #139956 from jsafrane/selinuxmount-ga

Graduate SELinuxMount to GA

Kubernetes-commit: d23b43180872faf7ceefd0e57effe44ce90f058b
This commit is contained in:
Kubernetes Publisher
2026-06-25 17:48:27 +00:00
3 changed files with 4 additions and 7 deletions

View File

@@ -121,11 +121,8 @@ type PodSecurityContextApplyConfiguration struct {
// Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes
// whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their
// CSIDriver instance. Other volumes are always re-labelled recursively.
// "MountOption" value is allowed only when SELinuxMount feature gate is enabled.
//
// If not specified and SELinuxMount feature gate is enabled, "MountOption" is used.
// If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes
// and "Recursive" for all other volumes.
// If not specified, "MountOption" is used.
//
// This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.
//

2
go.mod
View File

@@ -23,7 +23,7 @@ require (
golang.org/x/time v0.15.0
google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af
gopkg.in/evanphx/json-patch.v4 v4.13.0
k8s.io/api v0.0.0-20260625005826-c4b74fe54c1e
k8s.io/api v0.0.0-20260625205934-e272d17aacf4
k8s.io/apimachinery v0.0.0-20260624005338-0cde5273b917
k8s.io/klog/v2 v2.140.0
k8s.io/kube-openapi v0.0.0-20260618221249-bc653b64f974

4
go.sum
View File

@@ -118,8 +118,8 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
k8s.io/api v0.0.0-20260625005826-c4b74fe54c1e h1:DhqafHXcKY1BPLOTm+VTfa8yiXYW5U3P1VF6t5cJv3A=
k8s.io/api v0.0.0-20260625005826-c4b74fe54c1e/go.mod h1:beQEcM0rvbYfI1OdO9Uob8EUWitM73pjoMO2OTzyyeA=
k8s.io/api v0.0.0-20260625205934-e272d17aacf4 h1:VgLZj/odgcL+hv5DGCu1A7fV3RvONREpuAtPXxwkbzA=
k8s.io/api v0.0.0-20260625205934-e272d17aacf4/go.mod h1:beQEcM0rvbYfI1OdO9Uob8EUWitM73pjoMO2OTzyyeA=
k8s.io/apimachinery v0.0.0-20260624005338-0cde5273b917 h1:U05DtxqHAE0xH+k1PYzsEOyR7d6zBD2cDTaub3+6CSk=
k8s.io/apimachinery v0.0.0-20260624005338-0cde5273b917/go.mod h1:s2qMFi6yEsMcAS8Gm608ftRHgiVR/tKK/Rj1hZRaFWE=
k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc=