PodSecurity: promote config and feature gate to GA

Signed-off-by: wangyysde <net_use@bzhy.com>
This commit is contained in:
wangyysde
2022-06-09 16:05:32 +08:00
parent e8d6b76f8b
commit ab66a38194
16 changed files with 569 additions and 21 deletions

View File

@@ -611,6 +611,7 @@ const (
// owner: @liggitt, @tallclair, sig-auth
// alpha: v1.22
// beta: v1.23
// ga: v1.25
//
// Enables the PodSecurity admission plugin
PodSecurity featuregate.Feature = "PodSecurity"
@@ -961,7 +962,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
PodOverhead: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.26
PodSecurity: {Default: true, PreRelease: featuregate.Beta},
PodSecurity: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},
PreferNominatedNode: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.26