|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 0.32.0 |
| 4 | + |
| 5 | +**Release date:** 2023-03-31 |
| 6 | + |
| 7 | +This prerelease comes with a number of new features and improvements, and |
| 8 | +solves a long-standing issue with the patching of the HelmRelease status. |
| 9 | + |
| 10 | +### Highlights |
| 11 | + |
| 12 | +#### Management of HelmChart labels and annotations |
| 13 | + |
| 14 | +The HelmRelease now supports the definition of a set of labels and annotations |
| 15 | +using `.spec.chart.metadata.labels` and `.spec.chart.metadata.annotations`, |
| 16 | +which will be applied to the HelmChart created by the controller. |
| 17 | + |
| 18 | +#### Sharding |
| 19 | + |
| 20 | +The controller can now be configured with `--watch-label-selector`, after |
| 21 | +which only HelmRelease objects with this label will be reconciled by the |
| 22 | +controller. |
| 23 | + |
| 24 | +This allows for horizontal scaling, where the controller can be deployed |
| 25 | +multiple times with a unique label selector which is used as the sharding key. |
| 26 | + |
| 27 | +Note that if you want to ensure a HelmChart gets created for a specific |
| 28 | +source-controller instance, you have to provide the labels for this controller |
| 29 | +in `.spec.chart.metadata.labels` of the HelmRelease. |
| 30 | + |
| 31 | +In addition, the source referenced (i.e. HelmRepository) in the HelmChart must |
| 32 | +be available to this same controller instance. |
| 33 | + |
| 34 | +#### Opt-out of persistent Kubernetes client |
| 35 | + |
| 36 | +The HelmRelease now supports opting out of the persistent Kubernetes client |
| 37 | +introduced in `v0.31.0` by defining `.spec.persistentClient: false` (default |
| 38 | +`true`). |
| 39 | + |
| 40 | +This can be useful when a HelmRelease is used to manage a Helm chart that |
| 41 | +itself manages Custom Resource Definitions outside the Helm chart's CRD |
| 42 | +lifecycle (like OPA Gatekeeper), as the persistent client will not observe |
| 43 | +the creation of these resources. |
| 44 | + |
| 45 | +Disabling this increases memory consumption, and should only be used when |
| 46 | +necessary. |
| 47 | + |
| 48 | +#### Verification of Artifact Digest |
| 49 | + |
| 50 | +The controller will now verify the Digest of the Artifact as advertised by |
| 51 | +the HelmChart, introduced in source-controller `v0.35.0`. |
| 52 | + |
| 53 | +Due to this, the controller will now require source-controller `v0.35.0` or |
| 54 | +higher (and ships with `v1.0.0-rc.1` by default, which includes v1 of the |
| 55 | +`Artifact` API). |
| 56 | + |
| 57 | +### Full changelog |
| 58 | + |
| 59 | +Improvements: |
| 60 | +- Manage labels and annotations for a HelmChart |
| 61 | + [#631](https://github.com/fluxcd/helm-controller/pull/631) |
| 62 | +- Verify Digest of Artifact |
| 63 | + [#651](https://github.com/fluxcd/helm-controller/pull/651) |
| 64 | +- Move `controllers` to `internal/controllers` |
| 65 | + [#653](https://github.com/fluxcd/helm-controller/pull/653) |
| 66 | +- Update dependencies |
| 67 | + [#654](https://github.com/fluxcd/helm-controller/pull/654) |
| 68 | +- Add reconciler sharding capability based on label selector |
| 69 | + [#658](https://github.com/fluxcd/helm-controller/pull/658) |
| 70 | +- Add `PersistentClient` flag to allow control over Kubernetes client behavior |
| 71 | + [#659](https://github.com/fluxcd/helm-controller/pull/659) |
| 72 | +- Update source-controller to v1.0.0-rc.1 |
| 73 | + [#661](https://github.com/fluxcd/helm-controller/pull/661) |
| 74 | +- config/*: update API versions and file names |
| 75 | + [#662](https://github.com/fluxcd/helm-controller/pull/662) |
| 76 | + |
| 77 | +Fixes: |
| 78 | +- Update status patch logic |
| 79 | + [#660](https://github.com/fluxcd/helm-controller/pull/660) |
| 80 | + |
3 | 81 | ## 0.31.2
|
4 | 82 |
|
5 | 83 | **Release date:** 2023-03-20
|
|
0 commit comments