|
1 | 1 | # Changelog |
2 | 2 |
|
| 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 | + |
3 | 48 | ## 0.20.1 |
4 | 49 |
|
5 | 50 | **Release date:** 2022-03-01 |
|
0 commit comments