diff --git a/CHANGELOG.md b/CHANGELOG.md index 83c29bf69..439f6dba7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,20 @@ 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) This prereleases fixes two bugs: diff --git a/config/default/kustomization.yaml b/config/default/kustomization.yaml index 7606c36d8..d5008bd54 100644 --- a/config/default/kustomization.yaml +++ b/config/default/kustomization.yaml @@ -5,6 +5,6 @@ resources: - ../crd - ../rbac - ../manager -- github.com/fluxcd/source-controller/config//crd?ref=v0.1.0 -- github.com/fluxcd/source-controller/config//manager?ref=v0.1.0 +- github.com/fluxcd/source-controller/config//crd?ref=v0.2.0 +- github.com/fluxcd/source-controller/config//manager?ref=v0.2.0 - namespace.yaml diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 90c1d9be7..395c0499a 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.1.3 + newTag: v0.2.0 diff --git a/docs/spec/v2beta1/helmreleases.md b/docs/spec/v2beta1/helmreleases.md index 88927ac01..150b9c9a0 100644 --- a/docs/spec/v2beta1/helmreleases.md +++ b/docs/spec/v2beta1/helmreleases.md @@ -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. 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 -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`. diff --git a/go.mod b/go.mod index 3194b5035..1d3554a79 100644 --- a/go.mod +++ b/go.mod @@ -5,10 +5,10 @@ go 1.15 replace github.com/fluxcd/helm-controller/api => ./api 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/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/onsi/ginkgo v1.12.1 github.com/onsi/gomega v1.10.1 diff --git a/go.sum b/go.sum index c3f3b2d07..37d6eebea 100644 --- a/go.sum +++ b/go.sum @@ -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.1.0 h1:CfOYHYaHslhcb3QlzgKCOXl4ziCbA5zG/fUa1qFlHis= 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/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.1.1/go.mod h1:1ac/vj49YVPKF+xBHTo/9pfFj64TcLc1RLaxi4MwVEM= +github.com/fluxcd/source-controller/api v0.2.0 h1:a+N8+kLDH24lN2hp3klIFGuET3uMhhBWTM9qKdIRhM8= +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/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=