Skip to content

Commit

Permalink
Merge pull request #327 from fluxcd/release-v0.21.0
Browse files Browse the repository at this point in the history
Release v0.21.0
  • Loading branch information
Paulo Gomes authored Mar 22, 2022
2 parents 9b9a4bb + eb1d09e commit c684a81
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 2 deletions.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ resources:
images:
- name: fluxcd/image-automation-controller
newName: fluxcd/image-automation-controller
newTag: v0.20.1
newTag: v0.21.0
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c684a81

Please sign in to comment.