From f119b78940357851cdbc27f2f34281442e22284b Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Thu, 31 Jan 2019 12:08:32 +0200 Subject: [PATCH 1/3] Add features and fixes to changelog --- CHANGELOG.md | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..90f41814 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,122 @@ +# Changelog + +All notable changes to this project are documented in this file. + +## 0.5.0 (2019-01-30) + +Track changes in ConfigMaps and Secrets [#37](https://github.com/stefanprodan/flagger/pull/37) + +##### Features + +- Promote configmaps and secrets changes from canary to primary +- Detect changes in configmaps and/or secrets and (re)start canary analysis +- Add configs checksum to Canary CRD status +- Create primary configmaps and secrets at bootstrap +- Scan canary volumes and containers for configmaps and secrets + +##### Fixes + +- Copy deployment labels from canary to primary at bootstrap and promotion + +## 0.4.1 (2019-01-24) + +Load testing webhook [#35](https://github.com/stefanprodan/flagger/pull/35) + +##### Features + +- Add the load tester chart to Flagger Helm repository +- Implement a load test runner based on [rakyll/hey](https://github.com/rakyll/hey) +- Log warning when no values are found for Istio metric due to lack of traffic + +##### Fixes + +- Run wekbooks before the metrics checks to avoid failures when using a load tester + +## 0.4.0 (2019-01-18) + +Restart canary analysis if revision changes [#31](https://github.com/stefanprodan/flagger/pull/31) + +##### Breaking changes + +- Drop support for Kubernetes 1.10 + +##### Features + +- Detect changes during canary analysis and reset advancement +- Add status and additional printer columns to CRD +- Add canary name and namespace to controller structured logs + +##### Fixes + +- Allow canary name to be different to the target name +- Check if multiple canaries have the same target and log error +- Use deep copy when updating Kubernetes objects +- Skip readiness checks if canary analysis has finished + +## 0.3.0 (2019-01-11) + +Configurable canary analysis duration [#20](https://github.com/stefanprodan/flagger/pull/20) + +##### Breaking changes + +- Helm chart: flag `controlLoopInterval` has been removed + +##### Features + +- CRD: canaries.flagger.app v1alpha3 +- Schedule canary analysis independently based on `canaryAnalysis.interval` +- Add analysis interval to Canary CRD (defaults to one minute) +- Make autoscaler (HPA) reference optional + +## 0.2.0 (2019-01-04) + +Webhooks [#18](https://github.com/stefanprodan/flagger/pull/18) + +- CRD: canaries.flagger.app v1alpha2 +- Implement canary external checks based on webhooks HTTP POST calls +- Add webhooks to Canary CRD +- Move docs to gitbook [docs.flagger.app](https://docs.flagger.app) + +## 0.1.2 (2018-12-06) + +Improve Slack notifications + +##### Features + +- Add canary analysis metadata to init and start Slack messages +- Add rollback reason to failed canary Slack messages + +## 0.1.1 (2018-11-28) + +Canary progress deadline + +##### Features + +- Rollback canary based on the deployment progress deadline check +- Add progress deadline to Canary CRD (defaults to 10 minutes) + +## 0.1.0 (2018-11-25) + +First stable release + +##### Features + +- CRD: canaries.flagger.app v1alpha1 +- Notifications: post canary events to Slack +- Instrumentation: expose Prometheus metrics for canary status and traffic weight percentage +- Autoscaling: add HPA reference to CRD and create primary HPA at bootstrap +- Bootstrap: create primary deployment, ClusterIP services and Istio virtual service based on CRD spec + + +## 0.0.1 (2018-10-07) + +Initial semver release + +##### Features + +- Implement canary rollback based on failed checks threshold +- Scale up the deployment when canary revision changes +- Add OpenAPI v3 schema validation to Canary CRD +- Use CRD status for canary state persistence +- Add Helm charts for Flagger and Grafana +- Add canary analysis Grafana dashboard \ No newline at end of file From 0e3d1b3e8fd39eb45fe7978a5f7687ff06039ed0 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Thu, 31 Jan 2019 12:11:47 +0200 Subject: [PATCH 2/3] Improve changelog formatting --- CHANGELOG.md | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90f41814..4c53bdd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ All notable changes to this project are documented in this file. Track changes in ConfigMaps and Secrets [#37](https://github.com/stefanprodan/flagger/pull/37) -##### Features +#### Features - Promote configmaps and secrets changes from canary to primary - Detect changes in configmaps and/or secrets and (re)start canary analysis @@ -14,7 +14,7 @@ Track changes in ConfigMaps and Secrets [#37](https://github.com/stefanprodan/fl - Create primary configmaps and secrets at bootstrap - Scan canary volumes and containers for configmaps and secrets -##### Fixes +#### Fixes - Copy deployment labels from canary to primary at bootstrap and promotion @@ -22,13 +22,13 @@ Track changes in ConfigMaps and Secrets [#37](https://github.com/stefanprodan/fl Load testing webhook [#35](https://github.com/stefanprodan/flagger/pull/35) -##### Features +#### Features - Add the load tester chart to Flagger Helm repository - Implement a load test runner based on [rakyll/hey](https://github.com/rakyll/hey) - Log warning when no values are found for Istio metric due to lack of traffic -##### Fixes +#### Fixes - Run wekbooks before the metrics checks to avoid failures when using a load tester @@ -36,17 +36,17 @@ Load testing webhook [#35](https://github.com/stefanprodan/flagger/pull/35) Restart canary analysis if revision changes [#31](https://github.com/stefanprodan/flagger/pull/31) -##### Breaking changes +#### Breaking changes - Drop support for Kubernetes 1.10 -##### Features +#### Features - Detect changes during canary analysis and reset advancement - Add status and additional printer columns to CRD - Add canary name and namespace to controller structured logs -##### Fixes +#### Fixes - Allow canary name to be different to the target name - Check if multiple canaries have the same target and log error @@ -57,11 +57,11 @@ Restart canary analysis if revision changes [#31](https://github.com/stefanproda Configurable canary analysis duration [#20](https://github.com/stefanprodan/flagger/pull/20) -##### Breaking changes +#### Breaking changes - Helm chart: flag `controlLoopInterval` has been removed -##### Features +#### Features - CRD: canaries.flagger.app v1alpha3 - Schedule canary analysis independently based on `canaryAnalysis.interval` @@ -72,6 +72,8 @@ Configurable canary analysis duration [#20](https://github.com/stefanprodan/flag Webhooks [#18](https://github.com/stefanprodan/flagger/pull/18) +#### Features + - CRD: canaries.flagger.app v1alpha2 - Implement canary external checks based on webhooks HTTP POST calls - Add webhooks to Canary CRD @@ -81,7 +83,7 @@ Webhooks [#18](https://github.com/stefanprodan/flagger/pull/18) Improve Slack notifications -##### Features +#### Features - Add canary analysis metadata to init and start Slack messages - Add rollback reason to failed canary Slack messages @@ -90,7 +92,7 @@ Improve Slack notifications Canary progress deadline -##### Features +#### Features - Rollback canary based on the deployment progress deadline check - Add progress deadline to Canary CRD (defaults to 10 minutes) @@ -99,7 +101,7 @@ Canary progress deadline First stable release -##### Features +#### Features - CRD: canaries.flagger.app v1alpha1 - Notifications: post canary events to Slack @@ -112,7 +114,7 @@ First stable release Initial semver release -##### Features +#### Features - Implement canary rollback based on failed checks threshold - Scale up the deployment when canary revision changes From 9c4d4d16b650261ad1806dc0b70100fdf3dda5ce Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Thu, 31 Jan 2019 12:17:52 +0200 Subject: [PATCH 3/3] Add PR links to changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c53bdd4..b83d14f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -81,7 +81,7 @@ Webhooks [#18](https://github.com/stefanprodan/flagger/pull/18) ## 0.1.2 (2018-12-06) -Improve Slack notifications +Improve Slack notifications [#14](https://github.com/stefanprodan/flagger/pull/14) #### Features @@ -90,7 +90,7 @@ Improve Slack notifications ## 0.1.1 (2018-11-28) -Canary progress deadline +Canary progress deadline [#10](https://github.com/stefanprodan/flagger/pull/10) #### Features