Skip to content

Commit

Permalink
Merge pull request #241 from fluxcd/release-v0.9.0
Browse files Browse the repository at this point in the history
Release v0.9.0
  • Loading branch information
hiddeco authored Mar 26, 2021
2 parents acc4fdd + 71a2963 commit b195fc5
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 6 deletions.
39 changes: 37 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ resources:
images:
- name: fluxcd/helm-controller
newName: fluxcd/helm-controller
newTag: v0.8.2
newTag: v0.9.0
8 changes: 8 additions & 0 deletions docs/spec/v2alpha1/helmreleases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.<action>.timeout`.

To list all Kubernetes objects reconciled from a HelmRelease:

```sh
kubectl get all --all-namespaces \
-l=helm.toolkit.fluxcd.io/name="<HelmRelease name>" \
-l=helm.toolkit.fluxcd.io/namespace="<HelmRelease namespace>"
```

### Disabling resource waiting

For install, upgrade, and rollback actions resource waiting is enabled by default,
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b195fc5

Please sign in to comment.