1. 30 Nov, 2023 4 commits
    • William Lallemand's avatar
      haproxy: use the master CLI for hot update · 36fc3210
      William Lallemand authored
      DEPLOY_HAPROXY_MASTER_CLI allows to use the HAProxy master CLI instead
      of a stats socket for DEPLOY_HAPROXY_HOT_UPDATE="yes"
      
      The syntax of the master CLI is slightly different, a prefix with the
      process number need to be added before any command.
      
      This patch uses ${_cmdpfx} in front of every socat commands which is
      filled when the master CLI is used.
      36fc3210
    • William Lallemand's avatar
      haproxy: deploy script can add a new certificate over the stats socket · 98a7a01d
      William Lallemand authored
      DEPLOY_HAPROXY_HOT_UPDATE="yes" now allows to add a new certificate
      within HAProxy instead of updating an existing one.
      
      In order to work, the ${DEPLOY_HAPROXY_PEM_PATH} value must be used as a
      parameter to the "crt" keyword in the haproxy configuration.
      
      The patch uses the following commands over HAProxy stats socket:
      - show ssl cert
      - new ssl cert
      - set ssl cert
      - commit ssl cert
      - add ssl crt-list
      98a7a01d
    • William Lallemand's avatar
      haproxy: deploy script can update existing certificate over stats socket · 0f7be905
      William Lallemand authored
      Since version 2.2, HAProxy is able to update dynamically certificates,
      without a reload.
      
      This patch uses socat to push the certificate into HAProxy in order to
      achieve hot update. With this method, reloading is not required.
      This should be used only to update an existing certificate in haproxy.
      
      2 new variables are available:
      
      - DEPLOY_HAPROXY_HOT_UPDATE="yes" update over the stats socket instead
        of reloading
      
      - DEPLOY_HAPROXY_STATS_SOCKET="UNIX:/run/haproxy/admin.sock" set the path on
        the stats socket.
      0f7be905
    • William Lallemand's avatar
      haproxy: sanitize the PEM in the deploy script · 7aaf4432
      William Lallemand authored
      Sanitize the PEM of the haproxy deploy script by removing the '\n', this
      way it could be injected directly over the CLI.
      7aaf4432
  2. 01 Nov, 2023 1 commit
  3. 24 Oct, 2023 1 commit
  4. 25 Sep, 2023 1 commit
  5. 11 Aug, 2023 1 commit
  6. 09 Aug, 2023 1 commit
  7. 18 Jul, 2023 4 commits
  8. 12 Jul, 2023 1 commit
  9. 11 Jul, 2023 2 commits
  10. 04 Jul, 2023 3 commits
  11. 28 May, 2023 2 commits
  12. 24 May, 2023 1 commit
  13. 17 May, 2023 1 commit
  14. 15 May, 2023 2 commits
  15. 24 Apr, 2023 1 commit
  16. 23 Apr, 2023 2 commits
  17. 12 Apr, 2023 1 commit
  18. 31 Mar, 2023 1 commit
  19. 28 Jan, 2023 4 commits
  20. 19 Jan, 2023 1 commit
  21. 27 Dec, 2022 1 commit
  22. 23 Dec, 2022 3 commits
  23. 28 Nov, 2022 1 commit
    • beartom's avatar
      Format · bd2d0e6a
      beartom authored
      Format
      bd2d0e6a