diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a378dc4b..16e8dcf1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,45 @@ # Changelog +## 0.9.0 + +**Release date:** 2021-03-26 + +This prerelease comes with a breaking change to the leader election ID +from `5b6ca942.fluxcd.io` to `helm-controller-leader-election` +to be more descriptive. This change should not have an impact on most +installations, as the default replica count is `1`. If you are running +a setup with multiple replicas, it is however advised to scale down +before upgrading. + +To ease debugging wait timeout errors, the last 5 deduplicated log lines +from Helm are now recorded in the status conditions and events of the +`HelmRelease`. + +To track the origin of resources that are created by a Helm operation +performed by the controllers, they are now labeled with +`helm.toolkit.fluxcd.io/name` and `helm.toolkit.fluxcd.io/namespace` +using a builtin post render. + +The suspended status of resources is now recorded to a +`gotk_suspend_status` Prometheus gauge metric. + +Improvements: +* Capture and expose debug (log) information on release failure + [#219](https://github.com/fluxcd/helm-controller/pull/219) +* Record suspension metrics + [#236](https://github.com/fluxcd/helm-controller/pull/236) +* Label release resources with HelmRelease origin + [#238](https://github.com/fluxcd/helm-controller/pull/238) +* Set leader election deadline to 30s + [#239](https://github.com/fluxcd/helm-controller/pull/239) +* Update source-controller API to v0.10.0 + [#240](https://github.com/fluxcd/helm-controller/pull/240) + ## 0.8.2 **Release date:** 2021-03-15 -This prerelese comes with patch updates to Helm and controller-runtime +This prerelease comes with patch updates to Helm and controller-runtime dependencies. Improvements: @@ -51,7 +86,7 @@ Improvements: [#223](https://github.com/fluxcd/helm-controller/pull/223) * Update dependencies [#225](https://github.com/fluxcd/helm-controller/pull/225) -* Use source-controller manifest from GitHub releae +* Use source-controller manifest from GitHub release [#226](https://github.com/fluxcd/helm-controller/pull/226) ## 0.7.0 diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index cc15dd78a..40a0889ee 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -2,8 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: helm-system resources: -- https://github.com/fluxcd/source-controller/releases/download/v0.9.1/source-controller.crds.yaml -- https://github.com/fluxcd/source-controller/releases/download/v0.9.1/source-controller.deployment.yaml +- https://github.com/fluxcd/source-controller/releases/download/v0.10.0/source-controller.crds.yaml +- https://github.com/fluxcd/source-controller/releases/download/v0.10.0/source-controller.deployment.yaml - ../crd - ../rbac - ../manager diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 158843c16..6a3e7a6a1 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.8.2 + newTag: v0.9.0 diff --git a/docs/spec/v2alpha1/helmreleases.md b/docs/spec/v2alpha1/helmreleases.md index ea3e25fb6..bc570887d 100644 --- a/docs/spec/v2alpha1/helmreleases.md +++ b/docs/spec/v2alpha1/helmreleases.md @@ -634,6 +634,14 @@ The timeout for any individual Kubernetes operation (like Jobs for hooks) during of Helm actions can be configured via `spec.timeout` and can be overridden per action via `spec..timeout`. +To list all Kubernetes objects reconciled from a HelmRelease: + +```sh +kubectl get all --all-namespaces \ + -l=helm.toolkit.fluxcd.io/name="" \ + -l=helm.toolkit.fluxcd.io/namespace="" +``` + ### Disabling resource waiting For install, upgrade, and rollback actions resource waiting is enabled by default, diff --git a/go.mod b/go.mod index 06fe9b5be..6fed7dd69 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.15 replace github.com/fluxcd/helm-controller/api => ./api require ( - github.com/fluxcd/helm-controller/api v0.8.2 + github.com/fluxcd/helm-controller/api v0.9.0 github.com/fluxcd/pkg/apis/kustomize v0.0.1 github.com/fluxcd/pkg/apis/meta v0.8.0 github.com/fluxcd/pkg/runtime v0.10.1