GA of RuntimeClass feature gate and API
This commit is contained in:
@@ -38,10 +38,6 @@ func DropDisabledFields(pspSpec, oldPSPSpec *policy.PodSecurityPolicySpec) {
|
||||
if !utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) {
|
||||
pspSpec.AllowedCSIDrivers = nil
|
||||
}
|
||||
if !utilfeature.DefaultFeatureGate.Enabled(features.RuntimeClass) &&
|
||||
(oldPSPSpec == nil || oldPSPSpec.RuntimeClass == nil) {
|
||||
pspSpec.RuntimeClass = nil
|
||||
}
|
||||
}
|
||||
|
||||
func allowedProcMountTypesInUse(oldPSPSpec *policy.PodSecurityPolicySpec) bool {
|
||||
|
Reference in New Issue
Block a user