diff --git a/CHANGELOG.md b/CHANGELOG.md index ec545f91..8700e76f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog +## 0.22.0 + +**Release date:** 2022-04-19 + +This prerelease comes with further stability improvements in the `libgit2` +experimental management transport, brings ways to configure Key Exchange +Algorithms, plus some extra housekeeping awesomeness. + +Managed Transport for `libgit2` now introduces self-healing capabilities, +to recover from failure when long-running connections become stale. + +The Key Exchange Algorithms used when establishing SSH connections are +based on the defaults configured upstream in `go-git` and `golang.org/x/crypto`. +Now this can be overriden with the flag `--ssh-kex-algos`. Note this applies +to the `go-git` gitImplementation or the `libgit2` gitImplementation but +_only_ when Managed Transport is being used. + +The exponential back-off retry can be configured with the new flags: +`--min-retry-delay` (default: `750ms`) and `--max-retry-delay` +(default: `15min`). Previously the defaults were set to `5ms` and `1000s`, +which in some cases impaired the controller's ability to self-heal +(e.g. retrying failing SSH connections). + +Improvements: +- Update source controller to improve managed transport + [#346](https://github.com/fluxcd/image-automation-controller/pull/346) +- Add flags to configure exponential back-off retry + [#348](https://github.com/fluxcd/image-automation-controller/pull/348) +- Update libgit2 to 1.3.1 + [#350](https://github.com/fluxcd/image-automation-controller/pull/350) +- Add flag to allow configuration of ssh kex algos + [#351](https://github.com/fluxcd/image-automation-controller/pull/351) +- Update dependencies + [#352](https://github.com/fluxcd/image-automation-controller/pull/352) + [#353](https://github.com/fluxcd/image-automation-controller/pull/353) + [#354](https://github.com/fluxcd/image-automation-controller/pull/354) + ## 0.21.3 **Release date:** 2022-03-30 diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index cb9b8eb6..9ddc7a8d 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ resources: images: - name: fluxcd/image-automation-controller newName: fluxcd/image-automation-controller - newTag: v0.21.3 + newTag: v0.22.0 diff --git a/go.mod b/go.mod index 82504b85..8cfbd625 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ require ( github.com/Masterminds/sprig/v3 v3.2.2 github.com/ProtonMail/go-crypto v0.0.0-20220407094043-a94812496cf5 github.com/cyphar/filepath-securejoin v0.2.3 - github.com/fluxcd/image-automation-controller/api v0.21.3 + github.com/fluxcd/image-automation-controller/api v0.22.0 // If you bump this, change REFLECTOR_VER in the Makefile to match github.com/fluxcd/image-reflector-controller/api v0.17.2 github.com/fluxcd/pkg/apis/acl v0.0.3