Reload haproxy when certificate is renewed
This adds an explicit post-save command that was introduced in the
patch this depends on.
Preferably this patch should merge at the same time as the one this
depends on.
Related-Bug: #1811401
Co-Authored-By: Grzegorz Grasza <xek@redhat.com>
Depends-On: I5d91f8d9b5cd4f86ae0511a69e58858c5dccd35d
Change-Id: Id409899bf04e7f9f2653e6c48cfebd0a92ca2d08
(cherry picked from commit 648dfa2bdc
)
This commit is contained in:
parent
98c3a20871
commit
c9dbc7d6bd
|
@ -88,6 +88,7 @@ outputs:
|
|||
- '/overcloud-haproxy-NETWORK.key'
|
||||
hostname: "%{hiera('cloud_name_NETWORK')}"
|
||||
principal: "haproxy/%{hiera('cloud_name_NETWORK')}"
|
||||
postsave_cmd: "/usr/bin/certmonger-haproxy-refresh.sh reload NETWORK"
|
||||
for_each:
|
||||
NETWORK: {get_attr: [HAProxyNetworks, value]}
|
||||
metadata_settings:
|
||||
|
|
|
@ -69,6 +69,7 @@ outputs:
|
|||
- '/overcloud-haproxy-external.key'
|
||||
hostname: "%{hiera('cloud_name_external')}"
|
||||
principal: "haproxy/%{hiera('cloud_name_external')}"
|
||||
postsave_cmd: "/usr/bin/certmonger-haproxy-refresh.sh restart external"
|
||||
metadata_settings:
|
||||
- service: haproxy
|
||||
network: external
|
||||
|
|
Loading…
Reference in New Issue