Skip to content
Snippets Groups Projects
Commit 8efb46c6 authored by McConahy, Renee Margaret's avatar McConahy, Renee Margaret
Browse files

http_frontend: Correctly update configs, etc.

Docker forbids updating configurations and secrets: to replace one, one
must either create the replacement with a new name or delete and
recreate the configuration or secret, which requires stopping any
containers that use it.

This change modifies the Docker Stack deployment to give each
configuration a name derived from a hash of its contents. This allows
running stacks to be updated while preserving idempotency.

This also changes some tasks to prevent them from unnecessarily
reporting changed status, making this role idempotent.
parent 887d1eed
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment