mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
pkg/features: add RecursiveReadOnlyMounts
For KEP-3857: Recursive Read-only (RRO) mounts Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
parent
76081a10c2
commit
0b1a507b00
@ -975,6 +975,13 @@ const (
|
|||||||
// Speed up container startup by mounting volumes with the correct SELinux label
|
// Speed up container startup by mounting volumes with the correct SELinux label
|
||||||
// instead of changing each file on the volumes recursively.
|
// instead of changing each file on the volumes recursively.
|
||||||
SELinuxMount featuregate.Feature = "SELinuxMount"
|
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() {
|
func init() {
|
||||||
@ -1316,4 +1323,6 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
HPAScaleToZero: {Default: false, PreRelease: featuregate.Alpha},
|
HPAScaleToZero: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
|
||||||
StorageNamespaceIndex: {Default: true, PreRelease: featuregate.Beta},
|
StorageNamespaceIndex: {Default: true, PreRelease: featuregate.Beta},
|
||||||
|
|
||||||
|
RecursiveReadOnlyMounts: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user