Skip to content

Commit dc1037d

Browse files
authored
Merge pull request #751 from aryan9600/chanelog-v0.25.0
Release v0.25.0
2 parents 8a99fc7 + 04e167c commit dc1037d

File tree

4 files changed

+98
-2
lines changed

4 files changed

+98
-2
lines changed

CHANGELOG.md

+93
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,99 @@
22

33
All notable changes to this project are documented in this file.
44

5+
## 0.25.0
6+
7+
**Release date:** 2022-06-01
8+
9+
This prerelease adds support for Helm OCI. Users can specify `.spec.type` of
10+
a `HelmRepository` to use an OCI repository instead of an HTTP/S Helm repository.
11+
12+
Please note that this currently has a couple of limitations (which will be addressed in a future release):
13+
* Chart dependencies from OCI repositories are not supported. [#722](https://github.com/fluxcd/source-controller/issues/722)
14+
* Custom CA certificates are not supported. [#723](https://github.com/fluxcd/source-controller/issues/723)
15+
16+
An example of OCI `HelmRepository` can be found [here](https://github.com/fluxcd/source-controller/blob/api/v0.25.0/docs/spec/v1beta2/helmrepositories.md#helm-oci-repository).
17+
18+
A new flag `--feature-gate` has been added to disable/enable new experimental
19+
features. It works in a similar manner to [Kubernetes feature gates](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/).
20+
21+
The libgit2 managed transport feature has been enabled by default. Furthermore,
22+
a few changes have been made to make the feature more stable and enable quicker
23+
clones. Users that want to opt out and use the unmanaged transports may do so
24+
by passing the flag `--feature-gate=GitManagedTransport=false`, but please note
25+
that we encourage users not to do so.
26+
27+
GitRepository reconciliation has been made more efficient by adding support for
28+
no-op clones, when checking out repositories using branches or tags.
29+
This feature is also enabled by default, and users can opt out
30+
by passing the flag `--feature-gate=OptimizedGitClones=false`.
31+
Please note that this feature is only active when the managed transport feature
32+
is enabled. Disabling managed transports, quietly disables optimzed Git clones.
33+
34+
Improvements:
35+
- Optimise clone operations
36+
[#665](https://github.com/fluxcd/source-controller/pull/665)
37+
- [RFC 0002] Flux OCI support for Helm
38+
[#690](https://github.com/fluxcd/source-controller/pull/690)
39+
- Add Git test coverage for supported algorithms
40+
[#708](https://github.com/fluxcd/source-controller/pull/708)
41+
- Add new flag --ssh-hostkey-algos
42+
[#711](https://github.com/fluxcd/source-controller/pull/711)
43+
- libgit2: Disable connection caching
44+
[#713](https://github.com/fluxcd/source-controller/pull/713)
45+
- Update dependencies
46+
[#717](https://github.com/fluxcd/source-controller/pull/717)
47+
- libgit2: enable managed transport by default
48+
[#718](https://github.com/fluxcd/source-controller/pull/718)
49+
- libgit2: Add support for hashed known_hosts
50+
[#720](https://github.com/fluxcd/source-controller/pull/720)
51+
- Remove dependency on libgit2 credentials callback
52+
[#727](https://github.com/fluxcd/source-controller/pull/727)
53+
- Update Alpine to v3.16
54+
[#731](https://github.com/fluxcd/source-controller/pull/731)
55+
- Update dependencies
56+
[#739](https://github.com/fluxcd/source-controller/pull/739)
57+
- libgit2: enforce context timeout
58+
[#740](https://github.com/fluxcd/source-controller/pull/740)
59+
- libgit2: Pass ctx to all the transport opts
60+
[#743](https://github.com/fluxcd/source-controller/pull/743)
61+
62+
Fixes:
63+
- Ensure git status is checked at the correct time
64+
[#575](https://github.com/fluxcd/source-controller/pull/575)
65+
- libgit2: recover from git2go panic
66+
[#707](https://github.com/fluxcd/source-controller/pull/707)
67+
- Remove minio region
68+
[#715](https://github.com/fluxcd/source-controller/pull/715)
69+
- GitRepositoryReconciler no-op clone improvements
70+
[#724](https://github.com/fluxcd/source-controller/pull/724)
71+
- Support dockerconfigjson with OCI HelmRepositories
72+
[#725](https://github.com/fluxcd/source-controller/pull/725)
73+
- log when the OCI temp credentials file can't be deleted
74+
[#726](https://github.com/fluxcd/source-controller/pull/726)
75+
- Helm reconcilers conditions and test improvements
76+
[#728](https://github.com/fluxcd/source-controller/pull/728)
77+
- reconcile: Set observed gen only when conditions exist
78+
[#729](https://github.com/fluxcd/source-controller/pull/729)
79+
- helmrepo: Fix test flake in type update test
80+
[#730](https://github.com/fluxcd/source-controller/pull/730)
81+
- Fix tests failing in Ubuntu
82+
[#732](https://github.com/fluxcd/source-controller/pull/732)
83+
- tests: ignore proxy settings when running tests
84+
[#734](https://github.com/fluxcd/source-controller/pull/734)
85+
- gitrepo: gitCheckout() return typed errors only
86+
[#736](https://github.com/fluxcd/source-controller/pull/736)
87+
- gitrepo: set conditions in gitCheckout
88+
[#741](https://github.com/fluxcd/source-controller/pull/741)
89+
- libgit2: Enable tests
90+
[#744](https://github.com/fluxcd/source-controller/pull/744)
91+
- OCI HelmRepo: handle status conditions in-line
92+
[#748](https://github.com/fluxcd/source-controller/pull/748)
93+
- registry: repo URL and dockerconfig URL mismatch
94+
[#749](https://github.com/fluxcd/source-controller/pull/749)
95+
- libgit2: fix checkout logic for CheckoutBranch
96+
[#750](https://github.com/fluxcd/source-controller/pull/750)
97+
598
## 0.24.4
699

7100
**Release date:** 2022-05-03

config/manager/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ resources:
66
images:
77
- name: fluxcd/source-controller
88
newName: fluxcd/source-controller
9-
newTag: v0.24.4
9+
newTag: v0.25.0

docs/spec/v1beta2/gitrepositories.md

+3
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,9 @@ usual.
415415

416416
This feature is enabled by default. It can be disabled by starting the
417417
controller with the argument `--feature-gates=OptimizedGitClones=false`.
418+
Please note that this feature is only active when managed transport for
419+
`libgit2` is active. Disabling managed transport for `libgit2` automatically
420+
disables this feature.
418421

419422
NB: GitRepository objects configured for SemVer or Commit clones are
420423
not affected by this functionality.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ require (
3232
github.com/fluxcd/pkg/testserver v0.2.0
3333
github.com/fluxcd/pkg/untar v0.1.0
3434
github.com/fluxcd/pkg/version v0.1.0
35-
github.com/fluxcd/source-controller/api v0.24.4
35+
github.com/fluxcd/source-controller/api v0.25.0
3636
github.com/go-git/go-billy/v5 v5.3.1
3737
github.com/go-git/go-git/v5 v5.4.2
3838
github.com/go-logr/logr v1.2.3

0 commit comments

Comments
 (0)