mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
PodSecurity: pkg/features: feature gate
This commit is contained in:
parent
02a6187757
commit
65a42a483c
@ -713,6 +713,12 @@ const (
|
|||||||
//
|
//
|
||||||
// Enables the use of `RuntimeDefault` as the default seccomp profile for all workloads.
|
// Enables the use of `RuntimeDefault` as the default seccomp profile for all workloads.
|
||||||
SeccompDefault featuregate.Feature = "SeccompDefault"
|
SeccompDefault featuregate.Feature = "SeccompDefault"
|
||||||
|
|
||||||
|
// owner: @liggitt, @tallclair, sig-auth
|
||||||
|
// alpha: v1.22
|
||||||
|
//
|
||||||
|
// Enables the PodSecurity admission plugin
|
||||||
|
PodSecurity featuregate.Feature = "PodSecurity"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -820,6 +826,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
StatefulSetMinReadySeconds: {Default: false, PreRelease: featuregate.Alpha},
|
StatefulSetMinReadySeconds: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
ExpandedDNSConfig: {Default: false, PreRelease: featuregate.Alpha},
|
ExpandedDNSConfig: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
SeccompDefault: {Default: false, PreRelease: featuregate.Alpha},
|
SeccompDefault: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
PodSecurity: {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