Skip to content

Commit eb1d09e

Browse files
author
Paulo Gomes
committed
Release v0.21.0
Signed-off-by: Paulo Gomes <[email protected]>
1 parent 9b9a4bb commit eb1d09e

File tree

3 files changed

+47
-2
lines changed

3 files changed

+47
-2
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# Changelog
22

3+
## 0.21.0
4+
5+
**Release date:** 2022-03-22
6+
7+
This prerelease further improves Git operations' stability, upgrades source
8+
controller to `v0.22` and prepares the code base for more standardized
9+
controller runtime operations.
10+
11+
The source-controller dependency was updated to version `v0.22` which
12+
introduces API `v1beta2`. This requires the source-controller running in
13+
the same cluster to be `v0.22.0` or greater.
14+
15+
Git operations using `go-git` have been migrated away to `git2go`, which is now
16+
the only framework this controller uses for interacting with repositories.
17+
18+
A new experimental transport has been added to improve reliability, adding
19+
timeout enforcement for Git network operations.
20+
Opt-in by setting the environment variable `EXPERIMENTAL_GIT_TRANSPORT` to
21+
`true` in the controller's Deployment. This will result in the low-level
22+
transport being handled by the controller, instead of `libgit2`. It may result
23+
in an increased number of timeout messages in the logs, however it will resolve
24+
the bug in which Git operations can make the controllers hang indefinitely.
25+
26+
Improvements:
27+
* Update libgit2 to 1.3.0
28+
[#321](https://github.com/fluxcd/image-automation-controller/pull/321)
29+
* Remove direct dependency to go-git
30+
[#324](https://github.com/fluxcd/image-automation-controller/pull/324)
31+
* Update `pkg/runtime` and `apis/meta`
32+
[#325](https://github.com/fluxcd/image-automation-controller/pull/325)
33+
* Add experimental managed transport for libgit2 operations
34+
[#326](https://github.com/fluxcd/image-automation-controller/pull/326)
35+
36+
Fixes:
37+
* Update libgit2 to 1.3.0
38+
[#320](https://github.com/fluxcd/image-automation-controller/issues/320)
39+
* Consolidate use of libgit2 for git operations
40+
[#323](https://github.com/fluxcd/image-automation-controller/issues/323)
41+
* unable to clone: Certificate
42+
[#298](https://github.com/fluxcd/image-automation-controller/issues/298)
43+
* Controller stops reconciling, needs restart
44+
[#282](https://github.com/fluxcd/image-automation-controller/issues/282)
45+
* image-automation-controller not reconnecting after operation timed out
46+
[#209](https://github.com/fluxcd/image-automation-controller/issues/209)
47+
348
## 0.20.1
449

550
**Release date:** 2022-03-01

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ resources:
55
images:
66
- name: fluxcd/image-automation-controller
77
newName: fluxcd/image-automation-controller
8-
newTag: v0.20.1
8+
newTag: v0.21.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/Masterminds/sprig/v3 v3.2.2
99
github.com/ProtonMail/go-crypto v0.0.0-20220113124808-70ae35bab23f
1010
github.com/cyphar/filepath-securejoin v0.2.3
11-
github.com/fluxcd/image-automation-controller/api v0.20.1
11+
github.com/fluxcd/image-automation-controller/api v0.21.0
1212
// If you bump this, change REFLECTOR_VER in the Makefile to match
1313
github.com/fluxcd/image-reflector-controller/api v0.17.0
1414
github.com/fluxcd/pkg/apis/acl v0.0.3

0 commit comments

Comments
 (0)