mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-02 16:48:56 +00:00
k8s minor bug fixes (#56168)
Ensure `wait_condition`s with `Status: Unknown` actually complete Return k8s object after wait rather than k8s object before wait when object is patched.
This commit is contained in:
parent
3e8ca0285f
commit
4065692e13
3 changed files with 9 additions and 2 deletions
|
|
@ -265,7 +265,7 @@
|
|||
- condition.reason == "DeploymentPaused"
|
||||
- condition.status == "Unknown"
|
||||
vars:
|
||||
condition: '{{ pause_deploy.result.status.conditions | selectattr("type", "Progressing")).0 }}'
|
||||
condition: '{{ pause_deploy.result.status.conditions | json_query("[?type==`Progressing`]") | first }}'
|
||||
|
||||
- name: add a service based on the deployment
|
||||
k8s:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue