From 1b485b34590fd13e6910afe3f2cc144267016ef8 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Mon, 21 Oct 2019 11:47:54 +0300 Subject: [PATCH] Release v0.20.0 --- .circleci/config.yml | 3 +++ CHANGELOG.md | 19 +++++++++++++++++++ README.md | 3 +-- artifacts/flagger/deployment.yaml | 2 +- charts/flagger/Chart.yaml | 4 ++-- charts/flagger/values.yaml | 2 +- docs/gitbook/faq.md | 17 ++++++++++++++++- .../install/flagger-install-on-eks-appmesh.md | 2 +- kustomize/base/flagger/kustomization.yaml | 2 +- pkg/version/version.go | 2 +- 10 files changed, 46 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 29e9ae62e..0fae54c65 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,6 +10,9 @@ jobs: - restore_cache: keys: - go-mod-v3-{{ checksum "go.sum" }} + - run: + name: Run go mod download + command: go mod download - run: name: Run go fmt command: make test-fmt diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e59fff7b..9a7b7cafe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,25 @@ All notable changes to this project are documented in this file. +## 0.20.0 (2019-10-21) + +Adds support for [A/B Testing](https://docs.flagger.app/usage/progressive-delivery#traffic-mirroring) and retry policies when using App Mesh + +#### Features + +- Implement App Mesh A/B testing based on HTTP headers match conditions [#340](https://github.com/weaveworks/flagger/pull/340) +- Implement App Mesh HTTP retry policy [#338](https://github.com/weaveworks/flagger/pull/338) +- Implement metrics server override [#342](https://github.com/weaveworks/flagger/pull/342) + +#### Improvements + +- Add the app/name label to services and primary deployment [#333](https://github.com/weaveworks/flagger/pull/333) +- Allow setting Slack and Teams URLs with env vars [#334](https://github.com/weaveworks/flagger/pull/334) + +#### Fixes + +- Generate unique names for App Mesh virtual routers and routes [#336](https://github.com/weaveworks/flagger/pull/336) + ## 0.19.0 (2019-10-08) Adds support for canary and blue/green [traffic mirroring](https://docs.flagger.app/usage/progressive-delivery#traffic-mirroring) diff --git a/README.md b/README.md index 4c7cfa3a9..95b16c42f 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,6 @@ Flagger documentation can be found at [docs.flagger.app](https://docs.flagger.ap * [FAQ](https://docs.flagger.app/faq) * Usage * [Istio canary deployments](https://docs.flagger.app/usage/progressive-delivery) - * [Istio A/B testing](https://docs.flagger.app/usage/ab-testing) * [Linkerd canary deployments](https://docs.flagger.app/usage/linkerd-progressive-delivery) * [App Mesh canary deployments](https://docs.flagger.app/usage/appmesh-progressive-delivery) * [NGINX ingress controller canary deployments](https://docs.flagger.app/usage/nginx-progressive-delivery) @@ -153,7 +152,7 @@ For more details on how the canary analysis and promotion works please [read the | Feature | Istio | Linkerd | App Mesh | NGINX | Gloo | Kubernetes CNI | | -------------------------------------------- | ------------------ | ------------------ |------------------ |------------------ |------------------ |------------------ | | Canary deployments (weighted traffic) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_minus_sign: | -| A/B testing (headers and cookies routing) | :heavy_check_mark: | :heavy_minus_sign: | :heavy_minus_sign: | :heavy_check_mark: | :heavy_minus_sign: | :heavy_minus_sign: | +| A/B testing (headers and cookies routing) | :heavy_check_mark: | :heavy_minus_sign: | :heavy_check_mark: | :heavy_check_mark: | :heavy_minus_sign: | :heavy_minus_sign: | | Blue/Green deployments (traffic switch) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | Webhooks (acceptance/load testing) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | | Manual gating (approve/pause/resume) | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | diff --git a/artifacts/flagger/deployment.yaml b/artifacts/flagger/deployment.yaml index b4f455157..288a75a71 100644 --- a/artifacts/flagger/deployment.yaml +++ b/artifacts/flagger/deployment.yaml @@ -22,7 +22,7 @@ spec: serviceAccountName: flagger containers: - name: flagger - image: weaveworks/flagger:0.19.0 + image: weaveworks/flagger:0.20.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/charts/flagger/Chart.yaml b/charts/flagger/Chart.yaml index 76157d97a..8d68d6c0e 100644 --- a/charts/flagger/Chart.yaml +++ b/charts/flagger/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: flagger -version: 0.19.0 -appVersion: 0.19.0 +version: 0.20.0 +appVersion: 0.20.0 kubeVersion: ">=1.11.0-0" engine: gotpl description: Flagger is a Kubernetes operator that automates the promotion of canary deployments using Istio, Linkerd, App Mesh, Gloo or NGINX routing for traffic shifting and Prometheus metrics for canary analysis. diff --git a/charts/flagger/values.yaml b/charts/flagger/values.yaml index 9128fbb25..1998f6580 100644 --- a/charts/flagger/values.yaml +++ b/charts/flagger/values.yaml @@ -2,7 +2,7 @@ image: repository: weaveworks/flagger - tag: 0.19.0 + tag: 0.20.0 pullPolicy: IfNotPresent pullSecret: diff --git a/docs/gitbook/faq.md b/docs/gitbook/faq.md index f08de614f..faf619255 100644 --- a/docs/gitbook/faq.md +++ b/docs/gitbook/faq.md @@ -10,7 +10,7 @@ Flagger can run automated application analysis, promotion and rollback for the f * Canary (traffic mirroring) * Istio * A/B Testing (HTTP headers and cookies traffic routing) - * Istio, NGINX + * Istio, App Mesh, NGINX * Blue/Green (traffic switch) * Kubernetes CNI, Istio, Linkerd, App Mesh, NGINX, Gloo @@ -43,6 +43,21 @@ Istio example: regex: "^(.*?;)?(canary=always)(;.*)?$" ``` +App Mesh example: + +```yaml + canaryAnalysis: + interval: 1m + threshold: 10 + iterations: 2 + match: + - headers: + user-agent: + regex: ".*Chrome.*" +``` + +Note that App Mesh supports a single condition. + NGINX example: ```yaml diff --git a/docs/gitbook/install/flagger-install-on-eks-appmesh.md b/docs/gitbook/install/flagger-install-on-eks-appmesh.md index a23f90fc6..e86dfc712 100644 --- a/docs/gitbook/install/flagger-install-on-eks-appmesh.md +++ b/docs/gitbook/install/flagger-install-on-eks-appmesh.md @@ -113,7 +113,7 @@ Install the App Mesh CRD controller: ```sh helm upgrade -i appmesh-controller eks/appmesh-controller \ ---wait --namespace appmesh-system +--wait --namespace appmesh-system --version 0.2.0 ``` Install the App Mesh admission controller: diff --git a/kustomize/base/flagger/kustomization.yaml b/kustomize/base/flagger/kustomization.yaml index cccc028d8..47a23bf71 100644 --- a/kustomize/base/flagger/kustomization.yaml +++ b/kustomize/base/flagger/kustomization.yaml @@ -8,4 +8,4 @@ resources: - deployment.yaml images: - name: weaveworks/flagger - newTag: 0.19.0 + newTag: 0.20.0 diff --git a/pkg/version/version.go b/pkg/version/version.go index 043248a1d..31a0e3848 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,4 +1,4 @@ package version -var VERSION = "0.19.0" +var VERSION = "0.20.0" var REVISION = "unknown"