diff --git a/molecule/test-local/playbook.yml b/molecule/test-local/playbook.yml index bd13d1d9..ebfdf32d 100644 --- a/molecule/test-local/playbook.yml +++ b/molecule/test-local/playbook.yml @@ -72,7 +72,7 @@ namespace: '{{ custom_resource.metadata.namespace }}' definition: '{{ custom_resource }}' - - name: Wait 5m for reconciliation to run + - name: Wait 15m for reconciliation to run k8s_info: api_version: '{{ custom_resource.apiVersion }}' kind: '{{ custom_resource.kind }}' @@ -82,7 +82,7 @@ until: - "'Successful' in (cr | json_query('resources[].status.conditions[].reason'))" delay: 6 - retries: 50 + retries: 150 rescue: diff --git a/molecule/test-minikube/playbook.yml b/molecule/test-minikube/playbook.yml index 0d9f0b89..ae6a37c0 100644 --- a/molecule/test-minikube/playbook.yml +++ b/molecule/test-minikube/playbook.yml @@ -78,7 +78,7 @@ namespace: '{{ custom_resource.metadata.namespace }}' definition: '{{ custom_resource }}' - - name: Wait 5m for reconciliation to run + - name: Wait 15m for reconciliation to run k8s_info: api_version: '{{ custom_resource.apiVersion }}' kind: '{{ custom_resource.kind }}' @@ -88,7 +88,7 @@ until: - "'Successful' in (cr | json_query('resources[].status.conditions[].reason'))" delay: 6 - retries: 50 + retries: 150 rescue: diff --git a/roles/tower/templates/tower_task.yaml.j2 b/roles/tower/templates/tower_task.yaml.j2 index 7f8dc34d..6e3c3852 100644 --- a/roles/tower/templates/tower_task.yaml.j2 +++ b/roles/tower/templates/tower_task.yaml.j2 @@ -20,6 +20,8 @@ spec: containers: - image: '{{ tower_task_image }}' name: tower-task + securityContext: + privileged: true command: - /usr/bin/launch_awx_task.sh envFrom: