From 68f0920548d82cd1b8a00c1509d8f70d567e4161 Mon Sep 17 00:00:00 2001 From: Sanskar Jaiswal Date: Wed, 10 May 2023 17:47:48 +0530 Subject: [PATCH] Release v1.31.0 Signed-off-by: Sanskar Jaiswal --- CHANGELOG.md | 67 +++++++++++++++++++++++ artifacts/flagger/deployment.yaml | 2 +- charts/flagger/Chart.yaml | 4 +- charts/flagger/values.yaml | 2 +- kustomize/base/flagger/kustomization.yaml | 2 +- pkg/version/version.go | 2 +- 6 files changed, 73 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 31d9901e0..81a9a50e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,73 @@ All notable changes to this project are documented in this file. +## 1.31.0 + +**Release date:** 2023-05-10 + +⚠️ __Breaking Changes__ + +This release adds support for Linkerd 2.12 and later. Due to changes in Linkerd +the default namespace for Flagger's installation had to be changed from +`linkerd` to `flagger-system` and the `flagger` Deployment is now injected with +the Linkerd proxy. Furthermore, installing Flagger for Linkerd will result in +the creation of an `AuthorizationPolicy` that allows access to the Prometheus +instance in the `linkerd-viz` namespace. To upgrade your Flagger installation, +please see the below migration guide. + +If you use Kustomize, then follow these steps: +* `kubectl delete -n linkerd deploy/flagger` +* `kubectl delete -n linkerd serviceaccount flagger` +* If you're on Linkerd >= 2.12, you'll need to install the SMI extension to enable + support for `TrafficSplit`s: + ```bash + curl -sL https://linkerd.github.io/linkerd-smi/install | sh + linkerd smi install | kubectl apply -f - + ``` +* `kubectl apply -k github.com/fluxcd/flagger//kustomize/linkerd` + + Note: If you're on Linkerd < 2.12, this will report an error about missing CRDs. + It is safe to ignore this error. + +If you use Helm and are on Linkerd < 2.12, then you can use `helm upgrade` to do +a regular upgrade. + +If you use Helm and are on Linkerd >= 2.12, then follow these steps: +* `helm uninstall flagger -n linkerd` +* Install the Linkerd SMI extension: + ```bash + helm repo add l5d-smi https://linkerd.github.io/linkerd-smi + helm install linkerd-smi l5d-smi/linkerd-smi -n linkerd-smi --create-namespace + ``` +* Install Flagger in the `flagger-system` namespace + and create an `AuthorizationPolicy`: + ```bash + helm repo update flagger + helm install flagger flagger/flagger \ + --namespace flagger-system \ + --set meshProvider=linkerd \ + --set metricsServer=http://prometheus.linkerd-viz:9090 \ + --set linkerdAuthPolicy.create=true + ``` + +Furthermore, a bug which led the `confirm-rollout` webhook to be executed at +every step of the Canary instead of only being executed before the canary +Deployment is scaled up, has been fixed. + +#### Improvements + +- Add support for Linkerd 2.13 + [#1417](https://github.com/fluxcd/flagger/pull/1417) + +#### Fixes + +- Fix the loadtester install with flux documentation + [#1384](https://github.com/fluxcd/flagger/pull/1384) +- Run `confirm-rollout` checks only before scaling up deployment + [#1414](https://github.com/fluxcd/flagger/pull/1414) +- e2e: Remove OSM tests + [#1423](https://github.com/fluxcd/flagger/pull/1423) + ## 1.30.0 **Release date:** 2023-04-12 diff --git a/artifacts/flagger/deployment.yaml b/artifacts/flagger/deployment.yaml index 11ccfe199..8da31d339 100644 --- a/artifacts/flagger/deployment.yaml +++ b/artifacts/flagger/deployment.yaml @@ -22,7 +22,7 @@ spec: serviceAccountName: flagger containers: - name: flagger - image: ghcr.io/fluxcd/flagger:1.30.0 + image: ghcr.io/fluxcd/flagger:1.31.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/charts/flagger/Chart.yaml b/charts/flagger/Chart.yaml index 1ab742a6d..b6531029f 100644 --- a/charts/flagger/Chart.yaml +++ b/charts/flagger/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: flagger -version: 1.30.0 -appVersion: 1.30.0 +version: 1.31.0 +appVersion: 1.31.0 kubeVersion: ">=1.19.0-0" engine: gotpl description: Flagger is a progressive delivery operator for Kubernetes diff --git a/charts/flagger/values.yaml b/charts/flagger/values.yaml index ef4dd8692..2dd7fd18d 100644 --- a/charts/flagger/values.yaml +++ b/charts/flagger/values.yaml @@ -5,7 +5,7 @@ image: repository: ghcr.io/fluxcd/flagger - tag: 1.30.0 + tag: 1.31.0 pullPolicy: IfNotPresent pullSecret: diff --git a/kustomize/base/flagger/kustomization.yaml b/kustomize/base/flagger/kustomization.yaml index 6f40ed0a7..10e6a3bed 100644 --- a/kustomize/base/flagger/kustomization.yaml +++ b/kustomize/base/flagger/kustomization.yaml @@ -9,4 +9,4 @@ resources: images: - name: ghcr.io/fluxcd/flagger newName: ghcr.io/fluxcd/flagger - newTag: 1.30.0 + newTag: 1.31.0 diff --git a/pkg/version/version.go b/pkg/version/version.go index c1e8d320e..30c0e1fe5 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -16,5 +16,5 @@ limitations under the License. package version -var VERSION = "1.30.0" +var VERSION = "1.31.0" var REVISION = "unknown"