Release v1.19.0

This release comes with support for Kubernetes Gateway API v1alpha2.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2022-03-14 12:08:12 +02:00
parent e6bb47f920
commit 0a0c3835d6
10 changed files with 39 additions and 13 deletions

View File

@@ -2,6 +2,34 @@
All notable changes to this project are documented in this file.
## 1.19.0
**Release date:** 2022-03-14
This release comes with support for Kubernetes [Gateway API](https://gateway-api.sigs.k8s.io/) v1alpha2.
For more details see the [Gateway API Progressive Delivery tutorial](https://docs.flagger.app/tutorials/gatewayapi-progressive-delivery).
#### Features
- Add Gateway API as a provider
[#1108](https://github.com/fluxcd/flagger/pull/1108)
#### Improvements
- Add arm64 support for loadtester
[#1128](https://github.com/fluxcd/flagger/pull/1128)
- Restrict source namespaces in flagger-loadtester
[#1119](https://github.com/fluxcd/flagger/pull/1119)
- Remove support for Helm v2 in loadtester
[#1130](https://github.com/fluxcd/flagger/pull/1130)
#### Fixes
- Fix potential canary finalizer duplication
[#1125](https://github.com/fluxcd/flagger/pull/1125)
- Use the primary replicas when scaling up the canary (no hpa)
[#1110](https://github.com/fluxcd/flagger/pull/1110)
## 1.18.0
**Release date:** 2022-02-14

View File

@@ -22,7 +22,7 @@ spec:
serviceAccountName: flagger
containers:
- name: flagger
image: ghcr.io/fluxcd/flagger:1.18.0
image: ghcr.io/fluxcd/flagger:1.19.0
imagePullPolicy: IfNotPresent
ports:
- name: http

View File

@@ -1,7 +1,7 @@
apiVersion: v1
name: flagger
version: 1.18.0
appVersion: 1.18.0
version: 1.19.0
appVersion: 1.19.0
kubeVersion: ">=1.16.0-0"
engine: gotpl
description: Flagger is a progressive delivery operator for Kubernetes

View File

@@ -2,7 +2,7 @@
image:
repository: ghcr.io/fluxcd/flagger
tag: 1.18.0
tag: 1.19.0
pullPolicy: IfNotPresent
pullSecret:
@@ -138,7 +138,7 @@ tolerations: []
prometheus:
# to be used with ingress controllers
install: false
image: docker.io/prom/prometheus:v2.32.1
image: docker.io/prom/prometheus:v2.33.5
pullSecret:
retention: 2h
# when enabled, it will add a security context for the prometheus pod

View File

@@ -1,7 +1,7 @@
apiVersion: v1
name: loadtester
version: 0.21.0
appVersion: 0.21.0
version: 0.22.0
appVersion: 0.22.0
kubeVersion: ">=1.11.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.

View File

@@ -2,7 +2,7 @@ replicaCount: 1
image:
repository: ghcr.io/fluxcd/flagger-loadtester
tag: 0.21.0
tag: 0.22.0
pullPolicy: IfNotPresent
pullSecret:

View File

@@ -9,4 +9,4 @@ resources:
images:
- name: ghcr.io/fluxcd/flagger
newName: ghcr.io/fluxcd/flagger
newTag: 1.18.0
newTag: 1.19.0

View File

@@ -19,7 +19,7 @@ spec:
serviceAccountName: flagger-prometheus
containers:
- name: prometheus
image: prom/prometheus:v2.32.1
image: prom/prometheus:v2.33.5
imagePullPolicy: IfNotPresent
args:
- '--storage.tsdb.retention=2h'

View File

@@ -388,8 +388,6 @@ func (c *DeploymentController) reconcilePrimaryHpa(cd *flaggerv1.Canary, init bo
diffLabels := cmp.Diff(hpa.ObjectMeta.Labels, primaryHpa.ObjectMeta.Labels)
diffAnnotations := cmp.Diff(hpa.ObjectMeta.Annotations, primaryHpa.ObjectMeta.Annotations)
if diffMetrics != "" || diffBehavior != "" || diffLabels != "" || diffAnnotations != "" || int32Default(hpaSpec.MinReplicas) != int32Default(primaryHpa.Spec.MinReplicas) || hpaSpec.MaxReplicas != primaryHpa.Spec.MaxReplicas {
fmt.Println(diffMetrics, diffBehavior, hpaSpec.MinReplicas, primaryHpa.Spec.MinReplicas, hpaSpec.MaxReplicas, primaryHpa.Spec.MaxReplicas)
err = retry.RetryOnConflict(retry.DefaultRetry, func() error {
primaryHpa, err := c.kubeClient.AutoscalingV2beta2().HorizontalPodAutoscalers(cd.Namespace).Get(context.TODO(), primaryHpaName, metav1.GetOptions{})
if err != nil {

View File

@@ -16,5 +16,5 @@ limitations under the License.
package version
var VERSION = "1.18.0"
var VERSION = "1.19.0"
var REVISION = "unknown"