Browse Source

Merge "HA: fix injection of certificate in haproxy container"

changes/87/746487/2
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
48e5e1d725
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      deployment/haproxy/haproxy-public-tls-inject.yaml

+ 1
- 1
deployment/haproxy/haproxy-public-tls-inject.yaml View File

@ -175,7 +175,7 @@ outputs:
- name: copy certificate, chgrp, restart haproxy
shell: |
set -e
if echo {{ item }} | grep -q "^haproxy-bundle"; then
if {{ container_cli }} ps -f "id={{ item }}" --format "{{ '{{' }}.Names{{ '}}' }}" | grep -q "^haproxy-bundle"; then
tar -c {{ cert_path }} | {{container_cli}} exec -i {{ item }} tar -C / -xv
else
{{ container_cli }} cp {{ cert_path }} {{ item }}:{{ cert_path }}


Loading…
Cancel
Save