From 694ece6b948ffa5b56dbcbdf4c1fdea9cb982a00 Mon Sep 17 00:00:00 2001 From: Sunny Date: Thu, 9 Dec 2021 19:47:50 +0530 Subject: [PATCH] Release v0.14.1 Signed-off-by: Sunny --- CHANGELOG.md | 42 +++++++++++++++++++++++++++++++ config/manager/kustomization.yaml | 2 +- go.mod | 2 +- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2a92800d..60a358b53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,47 @@ # Changelog +## 0.14.1 + +**Release date:** 2021-12-09 + +This prerelease updates the dependency on the source-controller to `v0.19.2`, +which includes the fixes from source-controller `v0.19.1`, and changes the +length of the SHA hex added to the SemVer metadata of a `HelmChart`. Refer to +the source-controller [changelog](https://github.com/fluxcd/source-controller/blob/main/CHANGELOG.md#0191) +for more information. + +:warning: There have been additional user reports about charts complaining +about a `+` character in the label: + +``` +metadata.labels: Invalid value: "1.2.3+a4303ff0f6fb560ea032f9981c6bd7c7f146d083.1": a valid label must be an empty string or consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?') +``` + +Given the [Helm chart best practices mention to replace this character with a +`_`](https://helm.sh/docs/chart_best_practices/conventions/#version-numbers), +we encourage you to patch this in your (upstream) chart. +Pseudo example using [template functions](https://helm.sh/docs/chart_template_guide/function_list/): + +```yaml +{{- replace "+" "_" .Chart.Version | trunc 63 }} +``` + +In addition, the dependency on `github.com/opencontainers/runc` is updated to +`v1.0.3` to please static security analysers and fix any warnings for +CVE-2021-43784. + +Improvements: +- Update kustomize packages to Kustomize v4.4.1 + [#374](https://github.com/fluxcd/helm-controller/pull/374) +- Update dependencies (fix CVE-2021-43784) + [#376](https://github.com/fluxcd/helm-controller/pull/376) +- Update source-controller to v0.19.2 + [#377](https://github.com/fluxcd/helm-controller/pull/377) + +Fixes: +- docs/spec: Fix reconcile annotation key in example + [#371](https://github.com/fluxcd/helm-controller/pull/371) + ## 0.14.0 **Release date:** 2021-11-23 diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 11e916bd5..9d4cb0a77 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -5,4 +5,4 @@ resources: images: - name: fluxcd/helm-controller newName: fluxcd/helm-controller - newTag: v0.14.0 + newTag: v0.14.1 diff --git a/go.mod b/go.mod index 6563dc938..699512de1 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/bugsnag/panicwrap v1.3.4 // indirect github.com/docker/go-metrics v0.0.1 // indirect github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect - github.com/fluxcd/helm-controller/api v0.14.0 + github.com/fluxcd/helm-controller/api v0.14.1 github.com/fluxcd/pkg/apis/kustomize v0.3.0 github.com/fluxcd/pkg/apis/meta v0.10.1 github.com/fluxcd/pkg/runtime v0.12.2