Skip to content

Commit 59dc602

Browse files
authored
Merge pull request #499 from fluxcd/release-v0.19.0
2 parents 5419849 + 30ae556 commit 59dc602

File tree

3 files changed

+59
-2
lines changed

3 files changed

+59
-2
lines changed

CHANGELOG.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,63 @@
22

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

5+
## 0.19.0
6+
7+
**Release date:** 2021-11-23
8+
9+
For this prerelease we focused on improving the logic around Helm resources,
10+
with as goal to be more efficient, and increase code and testing quality.
11+
12+
It contains **breaking behavioral changes** to `HelmRepository` and
13+
`HelmChart` resources:
14+
15+
- Helm repository index files and/or charts **must** not exceed the new declared
16+
runtime default limits to [avoid out-of-memory crashes](https://github.com/fluxcd/source-controller/issues/470),
17+
overwriting the default configuration is possible.
18+
19+
| Type | Default max size **(in MiB)** | Option flag to overwrite |
20+
|---|---|---|
21+
| Helm repository index | 50MiB | `--helm-index-max-size=<bytes>` |
22+
| Helm chart | 10MiB | `--helm-chart-max-size=<bytes>` |
23+
| Singe file from Helm chart | 5MiB | `--helm-chart-file-max-size=<bytes>` |
24+
25+
- Using `ValuesFiles` in a `HelmChart` will now append a `.<Generation>` to the SemVer
26+
metadata of the packaged chart and the revision of the Artifact. For example,
27+
`v1.2.3+.5` for a `HelmChart` resource with generation `5`. This ensures consumers
28+
of the chart are able to notice changes to the merged values without the underlying
29+
chart source (revision) changing.
30+
31+
While an optional ACL field has been added to the API resources, there is no
32+
implementation at time of release.
33+
34+
Improvements:
35+
- helm: factor out logic from controller into package
36+
[#485](https://github.com/fluxcd/source-controller/pull/485)
37+
- Add ACL option field to Source API
38+
[#495](https://github.com/fluxcd/source-controller/pull/495)
39+
- Update various dependencies to mitigate CVE warning
40+
[#493](https://github.com/fluxcd/source-controller/pull/493)
41+
- Update controller-runtime to v0.10.2
42+
[#497](https://github.com/fluxcd/source-controller/pull/497)
43+
- Update github.com/minio/minio-go to `v7.0.15`
44+
[#498](https://github.com/fluxcd/source-controller/pull/498)
45+
- internal/helm: LoadChartMetadataFromArchive improvements
46+
[#502](https://github.com/fluxcd/source-controller/pull/502)
47+
- internal/helm: validate loaded chart metadata obj
48+
[#503](https://github.com/fluxcd/source-controller/pull/503)
49+
50+
Fixes:
51+
- tests: ensure proper garbage collection
52+
[#489](https://github.com/fluxcd/source-controller/pull/489)
53+
- controllers: Fix helmchart values file merge test
54+
[#494](https://github.com/fluxcd/source-controller/pull/494)
55+
- Update test shield link
56+
[#496](https://github.com/fluxcd/source-controller/pull/496)
57+
- controllers: absolute local path for cached chart
58+
[#500](https://github.com/fluxcd/source-controller/pull/500)
59+
- Various small fixes across the code base
60+
[#501](https://github.com/fluxcd/source-controller/pull/501)
61+
562
## 0.18.0
663

764
**Release date:** 2021-11-12

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
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.18.0
9+
newTag: v0.19.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ require (
2424
github.com/fluxcd/pkg/ssh v0.1.0
2525
github.com/fluxcd/pkg/untar v0.1.0
2626
github.com/fluxcd/pkg/version v0.1.0
27-
github.com/fluxcd/source-controller/api v0.18.0
27+
github.com/fluxcd/source-controller/api v0.19.0
2828
github.com/garyburd/redigo v1.6.3 // indirect
2929
github.com/go-git/go-billy/v5 v5.3.1
3030
github.com/go-git/go-git/v5 v5.4.2

0 commit comments

Comments
 (0)