Merge pull request #18556 from mqliang/podValidation
Auto commit by PR queue bot
This commit is contained in:
@@ -1393,7 +1393,6 @@ func ValidatePodUpdate(newPod, oldPod *api.Pod) field.ErrorList {
|
||||
allErrs = append(allErrs, field.Forbidden(specPath, "pod updates may not change fields other than `containers[*].image`"))
|
||||
}
|
||||
|
||||
newPod.Status = oldPod.Status
|
||||
return allErrs
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user