Add test for openshift apply bug

Fails using 0.11.0
This commit is contained in:
Will Thames
2020-05-21 12:39:04 +10:00
parent 2f7b55270d
commit 00200cf917
3 changed files with 67 additions and 14 deletions

View File

@@ -229,6 +229,12 @@
protocol: TCP
register: update_deploy
# It looks like the Deployment is updated to have the desired state *before* the pods are terminated
# Wait a couple of seconds to allow the old pods to at least get to Terminating state
- name: Avoid race condition
pause:
seconds: 2
- name: Get updated pods
k8s_info:
api_version: v1