mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-07 13:52:58 +00:00
Merge pull request #1333 from TheRealHaoLiu/fix-rsyslog-ca-cert
Add CA cert volume mount to rsyslog sidecar
This commit is contained in:
@@ -356,6 +356,14 @@ spec:
|
|||||||
mountPath: "/var/run/redis"
|
mountPath: "/var/run/redis"
|
||||||
- name: rsyslog-socket
|
- name: rsyslog-socket
|
||||||
mountPath: "/var/run/awx-rsyslog"
|
mountPath: "/var/run/awx-rsyslog"
|
||||||
|
{% if bundle_ca_crt %}
|
||||||
|
- name: "ca-trust-extracted"
|
||||||
|
mountPath: "/etc/pki/ca-trust/extracted"
|
||||||
|
- name: "{{ ansible_operator_meta.name }}-bundle-cacert"
|
||||||
|
mountPath: /etc/pki/ca-trust/source/anchors/bundle-ca.crt
|
||||||
|
subPath: bundle-ca.crt
|
||||||
|
readOnly: true
|
||||||
|
{% endif %}
|
||||||
{% if development_mode | bool %}
|
{% if development_mode | bool %}
|
||||||
- name: awx-devel
|
- name: awx-devel
|
||||||
mountPath: "/awx_devel"
|
mountPath: "/awx_devel"
|
||||||
|
|||||||
@@ -263,6 +263,14 @@ spec:
|
|||||||
mountPath: "/var/run/redis"
|
mountPath: "/var/run/redis"
|
||||||
- name: rsyslog-socket
|
- name: rsyslog-socket
|
||||||
mountPath: "/var/run/awx-rsyslog"
|
mountPath: "/var/run/awx-rsyslog"
|
||||||
|
{% if bundle_ca_crt %}
|
||||||
|
- name: "ca-trust-extracted"
|
||||||
|
mountPath: "/etc/pki/ca-trust/extracted"
|
||||||
|
- name: "{{ ansible_operator_meta.name }}-bundle-cacert"
|
||||||
|
mountPath: /etc/pki/ca-trust/source/anchors/bundle-ca.crt
|
||||||
|
subPath: bundle-ca.crt
|
||||||
|
readOnly: true
|
||||||
|
{% endif %}
|
||||||
{% if development_mode | bool %}
|
{% if development_mode | bool %}
|
||||||
- name: awx-devel
|
- name: awx-devel
|
||||||
mountPath: "/awx_devel"
|
mountPath: "/awx_devel"
|
||||||
|
|||||||
Reference in New Issue
Block a user