mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 21:25:09 +00:00
deprecate created-by annotation for e2e test framework
This commit is contained in:
@@ -604,7 +604,7 @@ func WaitForPodsRunningReady(c clientset.Interface, ns string, minPods, allowedN
|
||||
notReady++
|
||||
badPods = append(badPods, pod)
|
||||
default:
|
||||
if _, ok := pod.Annotations[v1.CreatedByAnnotation]; !ok {
|
||||
if controller.GetControllerOf(&pod) == nil {
|
||||
Logf("Pod %s is Failed, but it's not controlled by a controller", pod.ObjectMeta.Name)
|
||||
badPods = append(badPods, pod)
|
||||
}
|
||||
|
Reference in New Issue
Block a user