Merge "Match only haproxy for docker ps and skipp all *-haproxy occurences" into stable/queens
This commit is contained in:
commit
7382dd869e
|
@ -95,7 +95,7 @@ resources:
|
|||
elif [[ $HAPROXY_TLS_UPDATE_NEEDED -eq 0 ]]; then
|
||||
# Handles reloading HAProxy and fetching a new certificate if
|
||||
# necessary
|
||||
HAPROXY_CONTAINER_ID=$(docker ps | grep haproxy | awk '{print $1}')
|
||||
HAPROXY_CONTAINER_ID=$(docker ps | grep '[[:space:]]haproxy' | awk '{print $1}')
|
||||
if [[ -n "$HAPROXY_CONTAINER_ID" ]]; then
|
||||
if [[ "$pacemaker_status" == "active" ]]; then
|
||||
# We copy the certificate from the mount point to the desired
|
||||
|
|
Loading…
Reference in New Issue