mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-08 05:52:37 +00:00
k8s ability to wait on arbitrary property (#105)
* missing implementation of jsonpath library
* not tested
* sanity
* save
* updates
* Update args_common.py
* lint validation
* fix
* Update k8s.py
* attribute should match for all
* select wait
* Revert "select wait"
This reverts commit a20a1f6f01.
* sanity
* Update molecule/default/tasks/waiter.yml
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
* Update jsonpath_extractor.py
* Update k8s_wait_options.py
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -64,4 +64,22 @@ options:
|
||||
- The possible reasons in a condition are specific to each resource type in Kubernetes.
|
||||
- See the API documentation of the status field for a given resource to see possible choices.
|
||||
type: dict
|
||||
wait_property:
|
||||
description:
|
||||
- Specifies a property on the resource to wait for.
|
||||
- Ignored if C(wait) is not set or is set to I(False).
|
||||
type: dict
|
||||
version_added: '2.1.0'
|
||||
suboptions:
|
||||
property:
|
||||
type: str
|
||||
required: True
|
||||
description:
|
||||
- The property name to wait for.
|
||||
value:
|
||||
type: str
|
||||
description:
|
||||
- The expected value of the C(property).
|
||||
- The value is not case-sensitive.
|
||||
- If this is missing, we will check only that the attribute C(property) is present.
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user