Skip to content

Commit

Permalink
Merge pull request #653 from stackhpc/smslab/2024.1
Browse files Browse the repository at this point in the history
Caracal: Fix internal TLS certificate not copied
  • Loading branch information
cityofships authored Dec 20, 2024
2 parents f4979c0 + 46dc793 commit de1f2d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion ansible/roles/loadbalancer/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@
mode: "0660"
become: true
when:
- not enable_letsencrypt | bool
- kolla_enable_tls_internal | bool
- not kolla_externally_managed_cert | bool
- inventory_hostname in groups[service.group]
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/loadbalancer/templates/haproxy/haproxy.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
"perm": "0600",
"optional": {{ (not kolla_enable_tls_external | bool) | string | lower }}
}{% endif %}
{% if kolla_enable_tls_internal | bool and not enable_letsencrypt | bool %},
{% if kolla_enable_tls_internal | bool %},
{
"source": "{{ container_config_directory }}/haproxy-internal.pem",
"dest": "/etc/haproxy/certificates/haproxy-internal.pem",
"owner": "haproxy",
"perm": "0600",
"optional": {{ (not kolla_enable_tls_internal | bool) | string | lower }}
"optional": {{ (enable_letsencrypt | bool) | string | lower }}
}
{% endif %}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Fixes an issue with internal TLS certificate not being copied to HAproxy
container when Let's Encrypt is enabled.

0 comments on commit de1f2d1

Please sign in to comment.