Revert "k8s ability to wait on arbitrary property (#105)" (#133)

This reverts commit 4ccb15d4ad.
This commit is contained in:
abikouo
2021-06-15 14:32:21 +02:00
committed by GitHub
parent 4ccb15d4ad
commit 46494a18bd
9 changed files with 15 additions and 393 deletions

View File

@@ -252,32 +252,6 @@ EXAMPLES = r'''
status: Unknown
reason: DeploymentPaused
# Wait for this service to have acquired an External IP
- name: Create ingress and wait for ip to be assigned
kubernetes.core.k8s:
template: dash-service.yaml
wait: yes
wait_property:
property: status.loadBalancer.ingress[*].ip
# Wait for container inside a pod to be ready
- name: Create Pod and wait for containers to be ready
kubernetes.core.k8s:
template: pod.yaml
wait: yes
wait_property:
property: status.containerStatuses[*].ready
value: "true"
# Wait for first container inside a pod to be ready
- name: Create Pod and wait for first containers to be ready
kubernetes.core.k8s:
template: pod.yaml
wait: yes
wait_property:
property: status.containerStatuses[0].ready
value: "true"
# Patch existing namespace : add label
- name: add label to existing namespace
kubernetes.core.k8s: