Merge "Do not copy TLS files for backend if turned off"

This commit is contained in:
Zuul 2024-10-02 18:27:36 +00:00 committed by Gerrit Code Review
commit 76d409d802
2 changed files with 11 additions and 0 deletions

View File

@ -24,6 +24,8 @@
dest: "{{ node_config_directory }}/{{ item.key }}/{{ project_name }}-cert.pem"
mode: "0644"
become: true
when:
- kolla_enable_tls_backend | bool
with_dict: "{{ project_services | select_services_enabled_and_mapped_to_host }}"
notify:
- "Restart {{ item.key }} container"
@ -41,6 +43,8 @@
dest: "{{ node_config_directory }}/{{ item.key }}/{{ project_name }}-key.pem"
mode: "0600"
become: true
when:
- kolla_enable_tls_backend | bool
with_dict: "{{ project_services | select_services_enabled_and_mapped_to_host }}"
notify:
- "Restart {{ item.key }} container"

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fixes an issue where backend-related certificates are
attempted to be copied when ``kolla_copy_ca_into_containers``
is enabled but ``kolla_enable_tls_backend`` is disabled.
`LP#2080381 <https://bugs.launchpad.net/kolla-ansible/+bug/2080381>`__