-
k8s-merge-robot authored
Automatic merge from submit-queue Properly handle init containers in convertToAPIContainerStatuses Fix https://github.com/kubernetes/kubernetes/issues/25879 Fix https://github.com/kubernetes/kubernetes/issues/25844 This PR changed `convertToAPIContainerStatuses` to only generate waiting state when the init container really needs to be restarted. Addresses https://github.com/kubernetes/kubernetes/issues/25844#issuecomment-220418068 Will send a better fix and add unit test later. /cc @yujuhong @smarterclayton
d0ed68f8