mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-07-26 16:08:13 +00:00
55370d9b4d
Even when using the catalog an dedicated token for authentication might be needed. **Approach**: Support the token header even with client certs was the simplist approach and somebody might need/want to use it. **Background**: I want to run garage via Nomad but within containers (with host volumes). Nomad generates consul tokens (but at least not at the moment client certs). I need to use the catalog as with the services API garage tries to use the host/node IPs (instead of the actual service IPs). **Tests**: I deployed this version and it works well. Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/1353 Reviewed-by: Alex <lx@deuxfleurs.fr> Co-authored-by: Malte Swart <mswart@devtation.de> Co-committed-by: Malte Swart <mswart@devtation.de>