// TODO: Pinpoint the specific field that causes the invalid error after we have strategic merge diff
allErrs=append(allErrs,errs.NewFieldInvalid("spec","content of spec is not printed out, please refer to the \"details\"","may not update fields other than spec.nodeSelector"))
}
returnallErrs
}
// ValidateDaemonSpec tests if required fields in the daemon spec are set.
// TODO: Pinpoint the specific field that causes the invalid error after we have strategic merge diff
allErrs=append(allErrs,errs.NewFieldInvalid("spec","content of spec is not printed out, please refer to the \"details\"","may not update fields other than spec.nodeSelector"))
}
returnallErrs
}
// ValidateDaemonSpec tests if required fields in the daemon spec are set.