// validatePSPDefaultAllowPrivilegeEscalation validates the DefaultAllowPrivilegeEscalation field against the AllowPrivilegeEscalation field of a PodSecurityPolicy.
allErrs=append(allErrs,field.Invalid(fldPath,defaultAllowPrivilegeEscalation,"Cannot set DefaultAllowPrivilegeEscalation to true without also setting AllowPrivilegeEscalation to true"))
allErrs=append(allErrs,field.Invalid(fldPath.Child("allowPrivilegeEscalation"),sc.AllowPrivilegeEscalation,"Allowing privilege escalation for containers is not allowed"))
allErrs=append(allErrs,field.Invalid(fldPath.Child("allowPrivilegeEscalation"),*sc.AllowPrivilegeEscalation,"Allowing privilege escalation for containers is not allowed"))