1.2 KiB
Changelog
All notable changes to this project will be documented in this file.
[Unreleased]
-
Add
--registry-ca-validateflag: when supplied with--registry-ca, Watchtower can validate the provided CA bundle on startup and fail fast on misconfiguration. Prefer using this over--insecure-registryin production. -
Security: registry TLS verification is now secure-by-default for internal HEAD/token requests;
--insecure-registryis opt-in for testing. -
Registry CA support: add
--registry-cato provide a PEM bundle merged into system roots, and--registry-ca-validateto fail-fast on invalid bundles. -
Registry token caching: in-memory, concurrent-safe token cache added for registry auth tokens (honors
expires_in), with deterministic and concurrency unit tests. -
Testability: refactored registry transport construction and exposed test helpers; added an injectable
nowvariable for deterministic time-dependent tests. -
Docs: added detailed update flow docs, diagrams, and a developer guide (
docs/update-flow*.md, PlantUML, and rendered SVG). -
CI: added a GitHub Actions workflow to run
go test -race ./...with CGO enabled; recommended containerized-racerun steps added to the developer guide.