From 4a34158587b738c935570ad08fbe1fe38db48bf4 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Thu, 26 Jan 2023 12:35:51 +0200 Subject: [PATCH] Release v1.28.0 Signed-off-by: Stefan Prodan --- CHANGELOG.md | 21 +++++++++++++++++++++ Dockerfile | 2 +- Dockerfile.loadtester | 2 +- artifacts/flagger/deployment.yaml | 2 +- charts/flagger/Chart.yaml | 4 ++-- charts/flagger/values.yaml | 4 ++-- charts/loadtester/Chart.yaml | 4 ++-- charts/loadtester/values.yaml | 2 +- cmd/loadtester/main.go | 2 +- kustomize/base/flagger/kustomization.yaml | 2 +- kustomize/base/prometheus/deployment.yaml | 2 +- kustomize/tester/deployment.yaml | 2 +- pkg/version/version.go | 2 +- 13 files changed, 36 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42d936a5..85526998 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,27 @@ All notable changes to this project are documented in this file. +## 1.28.0 + +**Release date:** 2023-01-26 + +This release comes with support for setting a different autoscaling +configuration for the primary workload. +The `.spec.autoscalerRef.primaryScalerReplicas` is useful in the +situation where the user does not want to scale the canary workload +to the exact same size as the primary, especially when opting for a +canary deployment pattern where only a small portion of traffic is +routed to the canary workload pods. + +#### Improvements + +- Support for overriding primary scaler replicas + [#1343](https://github.com/fluxcd/flagger/pull/1343) +- Allow access to Prometheus in OpenShift via SA token + [#1338](https://github.com/fluxcd/flagger/pull/1338) +- Update Kubernetes packages to v1.26.1 + [#1352](https://github.com/fluxcd/flagger/pull/1352) + ## 1.27.0 **Release date:** 2022-12-15 diff --git a/Dockerfile b/Dockerfile index a2773d68..860f5311 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN CGO_ENABLED=0 go build \ -ldflags "-s -w -X github.com/fluxcd/flagger/pkg/version.REVISION=${REVISON}" \ -a -o flagger ./cmd/flagger -FROM alpine:3.16 +FROM alpine:3.17 RUN apk --no-cache add ca-certificates diff --git a/Dockerfile.loadtester b/Dockerfile.loadtester index 47985981..d34ab58b 100644 --- a/Dockerfile.loadtester +++ b/Dockerfile.loadtester @@ -6,7 +6,7 @@ ARG REVISION RUN apk --no-cache add alpine-sdk perl curl bash tar -RUN HELM3_VERSION=3.10.2 && \ +RUN HELM3_VERSION=3.11.0 && \ curl -sSL "https://get.helm.sh/helm-v${HELM3_VERSION}-linux-${TARGETARCH}.tar.gz" | tar xvz && \ chmod +x linux-${TARGETARCH}/helm && mv linux-${TARGETARCH}/helm /usr/local/bin/helm diff --git a/artifacts/flagger/deployment.yaml b/artifacts/flagger/deployment.yaml index bc3f1b98..5a2b72e3 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.27.0 + image: ghcr.io/fluxcd/flagger:1.28.0 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/charts/flagger/Chart.yaml b/charts/flagger/Chart.yaml index aaa81f68..b072e2be 100644 --- a/charts/flagger/Chart.yaml +++ b/charts/flagger/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: flagger -version: 1.27.0 -appVersion: 1.27.0 +version: 1.28.0 +appVersion: 1.28.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 4965bf3b..6a49d03e 100644 --- a/charts/flagger/values.yaml +++ b/charts/flagger/values.yaml @@ -2,7 +2,7 @@ image: repository: ghcr.io/fluxcd/flagger - tag: 1.27.0 + tag: 1.28.0 pullPolicy: IfNotPresent pullSecret: @@ -138,7 +138,7 @@ tolerations: [] prometheus: # to be used with ingress controllers install: false - image: docker.io/prom/prometheus:v2.39.1 + image: docker.io/prom/prometheus:v2.41.0 pullSecret: retention: 2h # when enabled, it will add a security context for the prometheus pod diff --git a/charts/loadtester/Chart.yaml b/charts/loadtester/Chart.yaml index 6270f59e..9efd2830 100644 --- a/charts/loadtester/Chart.yaml +++ b/charts/loadtester/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: loadtester -version: 0.28.0 -appVersion: 0.28.0 +version: 0.28.1 +appVersion: 0.28.1 kubeVersion: ">=1.19.0-0" engine: gotpl description: Flagger's load testing services based on rakyll/hey and bojand/ghz that generates traffic during canary analysis when configured as a webhook. diff --git a/charts/loadtester/values.yaml b/charts/loadtester/values.yaml index af3aea5d..5ae8de6d 100644 --- a/charts/loadtester/values.yaml +++ b/charts/loadtester/values.yaml @@ -2,7 +2,7 @@ replicaCount: 1 image: repository: ghcr.io/fluxcd/flagger-loadtester - tag: 0.28.0 + tag: 0.28.1 pullPolicy: IfNotPresent pullSecret: diff --git a/cmd/loadtester/main.go b/cmd/loadtester/main.go index 206096d6..7c2774e2 100644 --- a/cmd/loadtester/main.go +++ b/cmd/loadtester/main.go @@ -28,7 +28,7 @@ import ( "go.uber.org/zap" ) -var VERSION = "0.28.0" +var VERSION = "0.28.1" var ( logLevel string port string diff --git a/kustomize/base/flagger/kustomization.yaml b/kustomize/base/flagger/kustomization.yaml index 02f5116e..8c51e62c 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.27.0 + newTag: 1.28.0 diff --git a/kustomize/base/prometheus/deployment.yaml b/kustomize/base/prometheus/deployment.yaml index 53d8a6b8..ab21650a 100644 --- a/kustomize/base/prometheus/deployment.yaml +++ b/kustomize/base/prometheus/deployment.yaml @@ -19,7 +19,7 @@ spec: serviceAccountName: flagger-prometheus containers: - name: prometheus - image: prom/prometheus:v2.39.1 + image: prom/prometheus:v2.41.0 imagePullPolicy: IfNotPresent args: - '--storage.tsdb.retention=2h' diff --git a/kustomize/tester/deployment.yaml b/kustomize/tester/deployment.yaml index 6670d347..36a3f411 100644 --- a/kustomize/tester/deployment.yaml +++ b/kustomize/tester/deployment.yaml @@ -19,7 +19,7 @@ spec: spec: containers: - name: loadtester - image: ghcr.io/fluxcd/flagger-loadtester:0.28.0 + image: ghcr.io/fluxcd/flagger-loadtester:0.28.1 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/pkg/version/version.go b/pkg/version/version.go index bc5c6000..dbb82ee7 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -16,5 +16,5 @@ limitations under the License. package version -var VERSION = "1.27.0" +var VERSION = "1.28.0" var REVISION = "unknown"