mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Issue #5: Add privileged context to task container - at least for now.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
|
||||
@@ -20,6 +20,8 @@ spec:
|
||||
containers:
|
||||
- image: '{{ tower_task_image }}'
|
||||
name: tower-task
|
||||
securityContext:
|
||||
privileged: true
|
||||
command:
|
||||
- /usr/bin/launch_awx_task.sh
|
||||
envFrom:
|
||||
|
||||
Reference in New Issue
Block a user