1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/k8s
Will Thames 4065692e13 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.
2019-05-22 08:08:22 +02:00
..
defaults Convert k8s test to role and fix virtulenv usage. (#53883) 2019-03-15 12:37:46 -07:00
files Convert k8s test to role and fix virtulenv usage. (#53883) 2019-03-15 12:37:46 -07:00
meta Convert k8s test to role and fix virtulenv usage. (#53883) 2019-03-15 12:37:46 -07:00
tasks k8s minor bug fixes (#56168) 2019-05-22 08:08:22 +02:00
aliases Revert "Disabled failing k8s integration test." 2018-08-17 13:26:45 -07:00
README.md Add wait functionality to k8s module (#47493) 2018-11-13 12:50:15 +00:00

Wait tests

wait tests require at least one node, and don't work on the normal k8s openshift-origin container as provided by ansible-test --docker -v k8s

minikube, Kubernetes from Docker or any other Kubernetes service will suffice.

If kubectl is already using the right config file and context, you can just do

cd test/integration/targets/k8s
./runme.sh -vv

otherwise set one or both of K8S_AUTH_KUBECONFIG and K8S_AUTH_CONTEXT and use the same command