mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Add SELinuxMountReadWriteOncePod feature gate
This commit is contained in:
parent
ef7fc10460
commit
34dc6b2587
@ -860,6 +860,14 @@ const (
|
|||||||
// Allow users to specify whether to take nodeAffinity/nodeTaint into consideration when
|
// Allow users to specify whether to take nodeAffinity/nodeTaint into consideration when
|
||||||
// calculating pod topology spread skew.
|
// calculating pod topology spread skew.
|
||||||
NodeInclusionPolicyInPodTopologySpread featuregate.Feature = "NodeInclusionPolicyInPodTopologySpread"
|
NodeInclusionPolicyInPodTopologySpread featuregate.Feature = "NodeInclusionPolicyInPodTopologySpread"
|
||||||
|
|
||||||
|
// owner: @jsafrane
|
||||||
|
// kep: http://kep.k8s.io/1710
|
||||||
|
// alpha: v1.25
|
||||||
|
// Speed up container startup by mounting volumes with the correct SELinux label
|
||||||
|
// instead of changing each file on the volumes recursively.
|
||||||
|
// Initial implementation focused on ReadWriteOncePod volumes.
|
||||||
|
SELinuxMountReadWriteOncePod featuregate.Feature = "SELinuxMountReadWriteOncePod"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -1099,6 +1107,8 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
|
|
||||||
NodeInclusionPolicyInPodTopologySpread: {Default: false, PreRelease: featuregate.Alpha},
|
NodeInclusionPolicyInPodTopologySpread: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
|
||||||
|
SELinuxMountReadWriteOncePod: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
|
||||||
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
|
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
|
||||||
// unintentionally on either side:
|
// unintentionally on either side:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user