From 35ceca22e06d01a1468167066f64b4db73f73e97 Mon Sep 17 00:00:00 2001 From: Sunny Date: Tue, 5 Dec 2023 13:11:55 +0000 Subject: [PATCH 1/2] Add changelog entry for v1.2.0 Signed-off-by: Sunny --- CHANGELOG.md | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5875f0b6c..65ca565f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,77 @@ All notable changes to this project are documented in this file. +## 1.2.0 + +**Release date:** 2023-12-05 + +This minor release graduates the notification `Alert` and `Provider` APIs to +`v1beta3`. In addition, this version comes with alert Provider support for +[BitBucket +Server](https://github.com/fluxcd/notification-controller/blob/api/v1.2.0/docs/spec/v1beta3/providers.md#bitbucket-serverdata-center) +and +[NATS](https://github.com/fluxcd/notification-controller/blob/api/v1.2.0/docs/spec/v1beta3/providers.md#nats). + +### `notification.toolkit.fluxcd.io/v1beta3` + +After upgrading the controller to v1.2.0, please update the notification Custom +Resources for `Alert` and `Provider` in Git by replacing +`notification.toolkit.fluxcd.io/v1beta2` with +`notification.toolkit.fluxcd.io/v1beta3` in all the YAML manifests. + +#### Static Alerts and Providers + +The notification Alert and Provider API resources will become static objects +with configurations that will be used by the event handlers for processing the +respective incoming events. They will no longer be reconciled by a reconciler +and will not advertise any status. Once `Alerts` and `Providers` are created, +they can be considered ready. Users of +[kstatus](https://github.com/kubernetes-sigs/cli-utils/blob/master/pkg/kstatus/README.md) +shouldn't see any difference. Existing `Alerts` and `Providers` objects in +`v1beta2` API will undergo a one-time automatic migration to be converted into +static objects without any status. + +#### Enhanced Alert events + +The event handler will emit Kubernetes native events on the respective Alert +object for any relevant information, including failures due to any +misconfiguration. + +Improvements: +- Add Provider for NATS Subject + [#651](https://github.com/fluxcd/notification-controller/pull/651) +- Cap provider address at 2048 bytes + [#654](https://github.com/fluxcd/notification-controller/pull/654) +- Refactor events and introduce v1beta3 API for Alert and Provider + [#540](https://github.com/fluxcd/notification-controller/pull/540) +- Add Bitbucket server/Bitbucket Data Center provider for git commit status + [#639](https://github.com/fluxcd/notification-controller/pull/639) +- Address miscellaneous issues throughout code base + [#627](https://github.com/fluxcd/notification-controller/pull/627) +- Update dependencies + [#609](https://github.com/fluxcd/notification-controller/pull/609) + [#612](https://github.com/fluxcd/notification-controller/pull/612) + [#613](https://github.com/fluxcd/notification-controller/pull/613) + [#617](https://github.com/fluxcd/notification-controller/pull/617) + [#621](https://github.com/fluxcd/notification-controller/pull/621) + [#623](https://github.com/fluxcd/notification-controller/pull/623) + [#628](https://github.com/fluxcd/notification-controller/pull/628) + [#629](https://github.com/fluxcd/notification-controller/pull/629) + [#632](https://github.com/fluxcd/notification-controller/pull/632) + [#635](https://github.com/fluxcd/notification-controller/pull/635) + [#637](https://github.com/fluxcd/notification-controller/pull/637) + [#641](https://github.com/fluxcd/notification-controller/pull/641) + [#643](https://github.com/fluxcd/notification-controller/pull/643) + [#646](https://github.com/fluxcd/notification-controller/pull/646) + [#648](https://github.com/fluxcd/notification-controller/pull/648) + [#652](https://github.com/fluxcd/notification-controller/pull/652) + [#656](https://github.com/fluxcd/notification-controller/pull/656) + [#657](https://github.com/fluxcd/notification-controller/pull/657) + +Fixes: +- Fix README.md links to notification APIs + [#619](https://github.com/fluxcd/notification-controller/pull/619) + ## 1.1.0 **Release date:** 2023-08-23 From 3a22adb3a2832ce0358fd78099c7e7da4564d7dc Mon Sep 17 00:00:00 2001 From: Sunny Date: Tue, 5 Dec 2023 13:14:58 +0000 Subject: [PATCH 2/2] Release v1.2.0 Signed-off-by: Sunny --- config/manager/kustomization.yaml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index a0dab074f..7ecee844b 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -6,4 +6,4 @@ resources: images: - name: fluxcd/notification-controller newName: fluxcd/notification-controller - newTag: v1.1.0 + newTag: v1.2.0 diff --git a/go.mod b/go.mod index 4c740e2df..acdcfc0d7 100644 --- a/go.mod +++ b/go.mod @@ -14,7 +14,7 @@ require ( github.com/PagerDuty/go-pagerduty v1.7.0 github.com/containrrr/shoutrrr v0.8.0 github.com/fluxcd/cli-utils v0.36.0-flux.1 - github.com/fluxcd/notification-controller/api v1.1.0 + github.com/fluxcd/notification-controller/api v1.2.0 github.com/fluxcd/pkg/apis/event v0.6.0 github.com/fluxcd/pkg/apis/meta v1.2.0 github.com/fluxcd/pkg/git v0.16.0