From eb1d09edee6a5414b814f0274774e4c835ba0fa8 Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Tue, 22 Mar 2022 10:01:37 +0000 Subject: [PATCH] Release v0.21.0 Signed-off-by: Paulo Gomes --- CHANGELOG.md | 45 +++++++++++++++++++++++++++++++ config/manager/kustomization.yaml | 2 +- go.mod | 2 +- 3 files changed, 47 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 878c6c24..66b6f1e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,50 @@ # Changelog +## 0.21.0 + +**Release date:** 2022-03-22 + +This prerelease further improves Git operations' stability, upgrades source +controller to `v0.22` and prepares the code base for more standardized +controller runtime operations. + +The source-controller dependency was updated to version `v0.22` which +introduces API `v1beta2`. This requires the source-controller running in +the same cluster to be `v0.22.0` or greater. + +Git operations using `go-git` have been migrated away to `git2go`, which is now +the only framework this controller uses for interacting with repositories. + +A new experimental transport has been added to improve reliability, adding +timeout enforcement for Git network operations. +Opt-in by setting the environment variable `EXPERIMENTAL_GIT_TRANSPORT` to +`true` in the controller's Deployment. This will result in the low-level +transport being handled by the controller, instead of `libgit2`. It may result +in an increased number of timeout messages in the logs, however it will resolve +the bug in which Git operations can make the controllers hang indefinitely. + +Improvements: +* Update libgit2 to 1.3.0 + [#321](https://github.com/fluxcd/image-automation-controller/pull/321) +* Remove direct dependency to go-git + [#324](https://github.com/fluxcd/image-automation-controller/pull/324) +* Update `pkg/runtime` and `apis/meta` + [#325](https://github.com/fluxcd/image-automation-controller/pull/325) +* Add experimental managed transport for libgit2 operations + [#326](https://github.com/fluxcd/image-automation-controller/pull/326) + +Fixes: +* Update libgit2 to 1.3.0 + [#320](https://github.com/fluxcd/image-automation-controller/issues/320) +* Consolidate use of libgit2 for git operations + [#323](https://github.com/fluxcd/image-automation-controller/issues/323) +* unable to clone: Certificate + [#298](https://github.com/fluxcd/image-automation-controller/issues/298) +* Controller stops reconciling, needs restart + [#282](https://github.com/fluxcd/image-automation-controller/issues/282) +* image-automation-controller not reconnecting after operation timed out + [#209](https://github.com/fluxcd/image-automation-controller/issues/209) + ## 0.20.1 **Release date:** 2022-03-01 diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 29a01531..9f46a997 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.20.1 + newTag: v0.21.0 diff --git a/go.mod b/go.mod index 5d09fed3..fac1a9ef 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-20220113124808-70ae35bab23f github.com/cyphar/filepath-securejoin v0.2.3 - github.com/fluxcd/image-automation-controller/api v0.20.1 + github.com/fluxcd/image-automation-controller/api v0.21.0 // If you bump this, change REFLECTOR_VER in the Makefile to match github.com/fluxcd/image-reflector-controller/api v0.17.0 github.com/fluxcd/pkg/apis/acl v0.0.3