diff options
Diffstat (limited to 'ansible/roles/rke/molecule')
-rw-r--r-- | ansible/roles/rke/molecule/default/molecule.yml | 18 | ||||
-rw-r--r-- | ansible/roles/rke/molecule/default/tests/test_infrastructure.py | 2 |
2 files changed, 1 insertions, 19 deletions
diff --git a/ansible/roles/rke/molecule/default/molecule.yml b/ansible/roles/rke/molecule/default/molecule.yml index 6ae613a9..3cc85360 100644 --- a/ansible/roles/rke/molecule/default/molecule.yml +++ b/ansible/roles/rke/molecule/default/molecule.yml @@ -44,24 +44,6 @@ platforms: - name: rke purge_networks: true - - name: kubernetes-node-2 - image: molecule-${PREBUILD_PLATFORM_DISTRO:-centos}:${PREBUILD_DISTRO_VERSION:-centos7.6} - pre_build_image: true - privileged: true - override_command: false - restart_policy: unless-stopped - env: - container: docker - volumes: - - /var/lib/kubelet - - /var/lib/docker - groups: - - kubernetes - - kubernetes-node - networks: - - name: rke - purge_networks: true - provisioner: name: ansible env: diff --git a/ansible/roles/rke/molecule/default/tests/test_infrastructure.py b/ansible/roles/rke/molecule/default/tests/test_infrastructure.py index 9ba11d6e..731f38bf 100644 --- a/ansible/roles/rke/molecule/default/tests/test_infrastructure.py +++ b/ansible/roles/rke/molecule/default/tests/test_infrastructure.py @@ -52,5 +52,5 @@ def test_pods_ready(host): 'metadata']['ownerReferences'][0]['kind'] == 'Job': continue assert host.run( - 'kubectl wait --timeout=120s --for=condition=' + condition + ' -n ' + + 'kubectl wait --timeout=240s --for=condition=' + condition + ' -n ' + namespace + ' pods/' + podname).rc == 0 |