mirror of
https://github.com/ansible/awx-operator.git
synced 2026-04-11 11:21:13 +00:00
web: Add volume to handle debug logs (#1921)
When enabling debug web requests, the /var/log/tower directory needs to exist. Rather than just creating that directory in the container image then create an emptyDir volume. Closes: #1485 Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
This commit is contained in:
@@ -261,6 +261,8 @@ spec:
|
||||
mountPath: "/etc/receptor/work_public_key.pem"
|
||||
subPath: "work-public-key.pem"
|
||||
readOnly: true
|
||||
- name: {{ ansible_operator_meta.name }}-web-log
|
||||
mountPath: /var/log/tower
|
||||
{% if development_mode | bool %}
|
||||
- name: awx-devel
|
||||
mountPath: "/awx_devel"
|
||||
@@ -456,6 +458,8 @@ spec:
|
||||
emptyDir: {}
|
||||
- name: receptor-socket
|
||||
emptyDir: {}
|
||||
- name: {{ ansible_operator_meta.name }}-web-log
|
||||
emptyDir: {}
|
||||
- name: {{ ansible_operator_meta.name }}-receptor-config
|
||||
configMap:
|
||||
name: '{{ ansible_operator_meta.name }}-{{ deployment_type }}-configmap'
|
||||
|
||||
Reference in New Issue
Block a user