diff --git a/pkg/features/kube_features.go b/pkg/features/kube_features.go index a5092d25d22..ae1e4193cbd 100644 --- a/pkg/features/kube_features.go +++ b/pkg/features/kube_features.go @@ -975,6 +975,13 @@ const ( // Speed up container startup by mounting volumes with the correct SELinux label // instead of changing each file on the volumes recursively. SELinuxMount featuregate.Feature = "SELinuxMount" + + // owner: @AkihiroSuda + // kep: https://kep.k8s.io/3857 + // alpha: v1.30 + // + // Allows recursive read-only mounts. + RecursiveReadOnlyMounts featuregate.Feature = "RecursiveReadOnlyMounts" ) func init() { @@ -1316,4 +1323,6 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS HPAScaleToZero: {Default: false, PreRelease: featuregate.Alpha}, StorageNamespaceIndex: {Default: true, PreRelease: featuregate.Beta}, + + RecursiveReadOnlyMounts: {Default: false, PreRelease: featuregate.Alpha}, }