mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 08:17:39 -02:30
ConfigMap rsyslog conf files for k8
This commit is contained in:
@@ -98,7 +98,7 @@ spec:
|
||||
mountPath: "/var/run/supervisor"
|
||||
- name: rsyslog-socket
|
||||
mountPath: "/var/run/rsyslog"
|
||||
- name: rsyslog-config
|
||||
- name: rsyslog-dir
|
||||
mountPath: "/var/lib/awx/rsyslog/"
|
||||
{% if ca_trust_dir is defined %}
|
||||
- name: {{ kubernetes_deployment_name }}-ca-trust-dir
|
||||
@@ -148,6 +148,11 @@ spec:
|
||||
subPath: supervisor_task.conf
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-rsyslog-config
|
||||
mountPath: "/var/lib/awx/rsyslog/rsyslog.conf"
|
||||
subPath: rsyslog.conf
|
||||
readOnly: true
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-secret-key
|
||||
mountPath: "/etc/tower/SECRET_KEY"
|
||||
subPath: SECRET_KEY
|
||||
@@ -184,7 +189,7 @@ spec:
|
||||
mountPath: "/var/run/supervisor"
|
||||
- name: rsyslog-socket
|
||||
mountPath: "/var/run/rsyslog"
|
||||
- name: rsyslog-config
|
||||
- name: rsyslog-dir
|
||||
mountPath: "/var/lib/awx/rsyslog/"
|
||||
{% if ca_trust_dir is defined %}
|
||||
- name: {{ kubernetes_deployment_name }}-ca-trust-dir
|
||||
@@ -331,7 +336,7 @@ spec:
|
||||
emptyDir: {}
|
||||
- name: rsyslog-socket
|
||||
emptyDir: {}
|
||||
- name: rsyslog-config
|
||||
- name: rsyslog-dir
|
||||
emptyDir: {}
|
||||
{% if ca_trust_dir is defined %}
|
||||
- name: {{ kubernetes_deployment_name }}-ca-trust-dir
|
||||
@@ -409,6 +414,12 @@ spec:
|
||||
- key: supervisor-task-config
|
||||
path: 'supervisor_task.conf'
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-rsyslog-config
|
||||
configMap:
|
||||
name: {{ kubernetes_deployment_name }}-rsyslog-config
|
||||
items:
|
||||
- key: rsyslog-config
|
||||
path: 'rsyslog.conf'
|
||||
|
||||
- name: {{ kubernetes_deployment_name }}-secret-key
|
||||
secret:
|
||||
|
||||
Reference in New Issue
Block a user