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.
2 parents 8eda21e + 9a960fb commit 7614e33Copy full SHA for 7614e33
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