Skip to content

Commit 2a4a6a7

Browse files
committed
Check daemonset rotates on update
Signed-off-by: Mikkel Oscar Lyderik Larsen <[email protected]>
1 parent 2e13e60 commit 2a4a6a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/e2e/wait-for-update.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ def update_complete(kind, check_fn):
2525

2626
def daemonset_updated(spec, status):
2727
desired = status.get("desiredNumberScheduled", 0)
28+
updated = status.get("updatedNumberScheduled", 0)
2829
ready = status.get("numberReady", 0)
29-
if desired == ready:
30+
if desired == ready and desired == updated:
3031
return None
3132
else:
3233
return "{}/{} [{}]".format(ready, desired, condition_messages(status))

0 commit comments

Comments
 (0)