We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d30a5f commit 9a960fbCopy full SHA for 9a960fb
pkg/api/podsecuritypolicy/util.go
@@ -23,7 +23,7 @@ import (
23
)
24
25
// DropDisabledFields removes disabled fields from the pod security policy spec.
26
-// This should be called from PrepareForCreate/PrepareForUpdate for all resources containing a od security policy spec.
+// This should be called from PrepareForCreate/PrepareForUpdate for all resources containing a pod security policy spec.
27
func DropDisabledFields(pspSpec, oldPSPSpec *policy.PodSecurityPolicySpec) {
28
if !utilfeature.DefaultFeatureGate.Enabled(features.ProcMountType) && !allowedProcMountTypesInUse(oldPSPSpec) {
29
pspSpec.AllowedProcMountTypes = nil
0 commit comments