allErrs=append(allErrs,field.Invalid(fldPath.Child("readOnlyRootFilesystem"),readOnly,"ReadOnlyRootFilesystem may not be nil and must be set to true"))
allErrs=append(allErrs,field.Invalid(scPath.Child("readOnlyRootFilesystem"),readOnly,"ReadOnlyRootFilesystem may not be nil and must be set to true"))
}elseif!*readOnly{
}elseif!*readOnly{
allErrs=append(allErrs,field.Invalid(fldPath.Child("readOnlyRootFilesystem"),*readOnly,"ReadOnlyRootFilesystem must be set to true"))
allErrs=append(allErrs,field.Invalid(scPath.Child("readOnlyRootFilesystem"),*readOnly,"ReadOnlyRootFilesystem must be set to true"))
allErrs=append(allErrs,field.Invalid(fldPath.Child("allowPrivilegeEscalation"),allowEscalation,"Allowing privilege escalation for containers is not allowed"))
allErrs=append(allErrs,field.Invalid(scPath.Child("allowPrivilegeEscalation"),allowEscalation,"Allowing privilege escalation for containers is not allowed"))
allErrs=append(allErrs,field.Invalid(fldPath.Child("allowPrivilegeEscalation"),*allowEscalation,"Allowing privilege escalation for containers is not allowed"))
allErrs=append(allErrs,field.Invalid(scPath.Child("allowPrivilegeEscalation"),*allowEscalation,"Allowing privilege escalation for containers is not allowed"))