Release v0.2.0

Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
Hidde Beydals 2020-10-29 13:26:26 +01:00
parent 505adc88d0
commit 76071b33fb
6 changed files with 23 additions and 11 deletions

View File

@ -2,6 +2,20 @@
All notable changes to this project are documented in this file. All notable changes to this project are documented in this file.
## 0.2.0 (2020-10-29)
This is the second MINOR prerelease, it comes with a breaking change:
* The histogram metric `gotk_reconcile_duration` was renamed to `gotk_reconcile_duration_seconds`
Other notable changes:
* Added support for cross-cluster Helm releases by defining a `KubeConfig`
reference in the `HelmReleaseSpec`.
* The annotation `fluxcd.io/reconcileAt` was renamed to `reconcile.fluxcd.io/requestedAt`,
the former will be removed in a next release but is backwards
compatible for now.
## 0.1.3 (2020-10-16) ## 0.1.3 (2020-10-16)
This prereleases fixes two bugs: This prereleases fixes two bugs:

View File

@ -5,6 +5,6 @@ resources:
- ../crd - ../crd
- ../rbac - ../rbac
- ../manager - ../manager
- github.com/fluxcd/source-controller/config//crd?ref=v0.1.0 - github.com/fluxcd/source-controller/config//crd?ref=v0.2.0
- github.com/fluxcd/source-controller/config//manager?ref=v0.1.0 - github.com/fluxcd/source-controller/config//manager?ref=v0.2.0
- namespace.yaml - namespace.yaml

View File

@ -5,4 +5,4 @@ resources:
images: images:
- name: fluxcd/helm-controller - name: fluxcd/helm-controller
newName: fluxcd/helm-controller newName: fluxcd/helm-controller
newTag: v0.1.3 newTag: v0.2.0

View File

@ -640,10 +640,10 @@ The `spec.interval` tells the reconciler at which interval to reconcile the rele
interval time units are `s`, `m` and `h` e.g. `interval: 5m`, the minimum value should be 60 seconds. interval time units are `s`, `m` and `h` e.g. `interval: 5m`, the minimum value should be 60 seconds.
The reconciler can be told to reconcile the `HelmRelease` outside of the specified interval The reconciler can be told to reconcile the `HelmRelease` outside of the specified interval
by annotating the object with a `fluxcd.io/reconcileAt` annotation. For example: by annotating the object with a `reconcile.fluxcd.io/requestedAt` annotation. For example:
```bash ```bash
kubectl annotate --overwrite helmrelease/podinfo fluxcd.io/reconcileAt="$(date +%s)" kubectl annotate --overwrite helmrelease/podinfo reconcile.fluxcd.io/requesteddAt="$(date +%s)"
``` ```
Reconciliation can be suspended by setting `spec.suspend` to `true`. Reconciliation can be suspended by setting `spec.suspend` to `true`.

4
go.mod
View File

@ -5,10 +5,10 @@ go 1.15
replace github.com/fluxcd/helm-controller/api => ./api replace github.com/fluxcd/helm-controller/api => ./api
require ( require (
github.com/fluxcd/helm-controller/api v0.1.3 github.com/fluxcd/helm-controller/api v0.2.0
github.com/fluxcd/pkg/apis/meta v0.1.0 github.com/fluxcd/pkg/apis/meta v0.1.0
github.com/fluxcd/pkg/runtime v0.1.2 github.com/fluxcd/pkg/runtime v0.1.2
github.com/fluxcd/source-controller/api v0.1.1 github.com/fluxcd/source-controller/api v0.2.0
github.com/go-logr/logr v0.1.0 github.com/go-logr/logr v0.1.0
github.com/onsi/ginkgo v1.12.1 github.com/onsi/ginkgo v1.12.1
github.com/onsi/gomega v1.10.1 github.com/onsi/gomega v1.10.1

6
go.sum
View File

@ -196,12 +196,10 @@ github.com/fluxcd/pkg/apis/meta v0.0.2 h1:kyA4Y0IzNjf1joBOnFqpWG7aNDHvtLExZcaHQM
github.com/fluxcd/pkg/apis/meta v0.0.2/go.mod h1:nCNps5JJOcEQr3MNDmZqI4o0chjePSUYL6Q2ktDtotU= github.com/fluxcd/pkg/apis/meta v0.0.2/go.mod h1:nCNps5JJOcEQr3MNDmZqI4o0chjePSUYL6Q2ktDtotU=
github.com/fluxcd/pkg/apis/meta v0.1.0 h1:CfOYHYaHslhcb3QlzgKCOXl4ziCbA5zG/fUa1qFlHis= github.com/fluxcd/pkg/apis/meta v0.1.0 h1:CfOYHYaHslhcb3QlzgKCOXl4ziCbA5zG/fUa1qFlHis=
github.com/fluxcd/pkg/apis/meta v0.1.0/go.mod h1:nCNps5JJOcEQr3MNDmZqI4o0chjePSUYL6Q2ktDtotU= github.com/fluxcd/pkg/apis/meta v0.1.0/go.mod h1:nCNps5JJOcEQr3MNDmZqI4o0chjePSUYL6Q2ktDtotU=
github.com/fluxcd/pkg/runtime v0.1.0 h1:mCLj5GlQZqWtK3tvtZTmfgFOLsTUY1iqg3CmEyS1nRs=
github.com/fluxcd/pkg/runtime v0.1.0/go.mod h1:OXkrYtDLw3GhclbzvnzfSktUyxRmC3FFhXj0tVVaIX8=
github.com/fluxcd/pkg/runtime v0.1.2 h1:bKhjJGVOJgTQTWjqhwasyt69lBItq1ZWjX04rUkiypo= github.com/fluxcd/pkg/runtime v0.1.2 h1:bKhjJGVOJgTQTWjqhwasyt69lBItq1ZWjX04rUkiypo=
github.com/fluxcd/pkg/runtime v0.1.2/go.mod h1:HXYTNdkK8ulcT1mhuGhio9tsX65ACKaealtd/MsnkhM= github.com/fluxcd/pkg/runtime v0.1.2/go.mod h1:HXYTNdkK8ulcT1mhuGhio9tsX65ACKaealtd/MsnkhM=
github.com/fluxcd/source-controller/api v0.1.1 h1:BYxl9qc8pCx3/Bn1885TlkJPwvXqz+rAL9mzpnCrj9A= github.com/fluxcd/source-controller/api v0.2.0 h1:a+N8+kLDH24lN2hp3klIFGuET3uMhhBWTM9qKdIRhM8=
github.com/fluxcd/source-controller/api v0.1.1/go.mod h1:1ac/vj49YVPKF+xBHTo/9pfFj64TcLc1RLaxi4MwVEM= github.com/fluxcd/source-controller/api v0.2.0/go.mod h1:1ac/vj49YVPKF+xBHTo/9pfFj64TcLc1RLaxi4MwVEM=
github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4= github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4=
github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20= github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=