Commit 072bfd40 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #18556 from mqliang/podValidation

Auto commit by PR queue bot
parents e78834ab 0debeff5
...@@ -1393,7 +1393,6 @@ func ValidatePodUpdate(newPod, oldPod *api.Pod) field.ErrorList { ...@@ -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`")) allErrs = append(allErrs, field.Forbidden(specPath, "pod updates may not change fields other than `containers[*].image`"))
} }
newPod.Status = oldPod.Status
return allErrs return allErrs
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment