Issue #5: Add privileged context to task container - at least for now.

This commit is contained in:
Jeff Geerling
2019-11-18 16:27:36 -06:00
parent 598482b309
commit 4712c6aee4
3 changed files with 6 additions and 4 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -20,6 +20,8 @@ spec:
containers:
- image: '{{ tower_task_image }}'
name: tower-task
securityContext:
privileged: true
command:
- /usr/bin/launch_awx_task.sh
envFrom: