diff --git a/CHANGELOG.md b/CHANGELOG.md index 1860ef35..09b78454 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,52 @@ All notable changes to this project are documented in this file. +## 1.0.0-rc.4 (2020-04-03) + +This is a release candidate for Flagger v1.0.0. + +The upgrade procedure from 0.x to 1.0 can be found [here](https://docs.flagger.app/dev/upgrade-guide). + +**Breaking change**: the minimum supported version of Kubernetes is v1.14.0. + +#### Features + +- Implement NGINX Ingress header regex matching + [#546](https://github.com/weaveworks/flagger/pull/546) + +#### Improvements + +- pkg/router: update ingress API to networking.k8s.io/v1beta1 + [#534](https://github.com/weaveworks/flagger/pull/534) +- loadtester: add return cmd output option + [#535](https://github.com/weaveworks/flagger/pull/535) +- refactoring: finalizer error handling and unit testing + [#531](https://github.com/weaveworks/flagger/pull/535) + [#530](https://github.com/weaveworks/flagger/pull/530) +- chart: add finalizers to RBAC rules for OpenShift + [#537](https://github.com/weaveworks/flagger/pull/537) +- chart: allow security context to be disabled on OpenShift + [#543](https://github.com/weaveworks/flagger/pull/543) +- chart: add annotations for service account + [#521](https://github.com/weaveworks/flagger/pull/521) +- docs: Add Prometheus Operator tutorial + [#524](https://github.com/weaveworks/flagger/pull/524) + +#### Fixes + +- pkg/controller: avoid status conflicts on initialization + [#544](https://github.com/weaveworks/flagger/pull/544) +- pkg/canary: fix status retry + [#541](https://github.com/weaveworks/flagger/pull/541) +- loadtester: fix timeout errors + [#539](https://github.com/weaveworks/flagger/pull/539) +- pkg/canary/daemonset: fix readiness check + [#529](https://github.com/weaveworks/flagger/pull/529) +- logs: reduce log verbosity and fix typos + [#540](https://github.com/weaveworks/flagger/pull/540) + [#526](https://github.com/weaveworks/flagger/pull/526) + + ## 1.0.0-rc.3 (2020-03-23) This is a release candidate for Flagger v1.0.0. diff --git a/artifacts/flagger/deployment.yaml b/artifacts/flagger/deployment.yaml index 8e085b23..6b9d50f8 100644 --- a/artifacts/flagger/deployment.yaml +++ b/artifacts/flagger/deployment.yaml @@ -22,7 +22,7 @@ spec: serviceAccountName: flagger containers: - name: flagger - image: weaveworks/flagger:1.0.0-rc.3 + image: weaveworks/flagger:1.0.0-rc.4 imagePullPolicy: IfNotPresent ports: - name: http diff --git a/charts/flagger/Chart.yaml b/charts/flagger/Chart.yaml index 69348240..3fbd7393 100644 --- a/charts/flagger/Chart.yaml +++ b/charts/flagger/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: flagger -version: 0.26.0 -appVersion: 1.0.0-rc.3 +version: 0.27.0 +appVersion: 1.0.0-rc.4 kubeVersion: ">=1.11.0-0" engine: gotpl description: Flagger is a progressive delivery operator for Kubernetes diff --git a/charts/flagger/README.md b/charts/flagger/README.md index ab294f51..6ff665ae 100644 --- a/charts/flagger/README.md +++ b/charts/flagger/README.md @@ -12,8 +12,7 @@ Flagger can be configured to send alerts to various chat platforms such as Slack ## Prerequisites -* Kubernetes >= 1.11 -* Prometheus >= 2.6 +* Kubernetes >= 1.14 ## Installing the Chart diff --git a/charts/flagger/templates/prometheus.yaml b/charts/flagger/templates/prometheus.yaml index 46986a8e..467797c3 100644 --- a/charts/flagger/templates/prometheus.yaml +++ b/charts/flagger/templates/prometheus.yaml @@ -230,7 +230,7 @@ spec: serviceAccountName: {{ template "flagger.serviceAccountName" . }}-prometheus containers: - name: prometheus - image: "docker.io/prom/prometheus:v2.16.0" + image: {{ .Values.prometheus.image }} imagePullPolicy: IfNotPresent args: - '--storage.tsdb.retention=2h' diff --git a/charts/flagger/values.yaml b/charts/flagger/values.yaml index c6fcf5e2..9ff73da0 100644 --- a/charts/flagger/values.yaml +++ b/charts/flagger/values.yaml @@ -2,7 +2,7 @@ image: repository: weaveworks/flagger - tag: 1.0.0-rc.3 + tag: 1.0.0-rc.4 pullPolicy: IfNotPresent pullSecret: @@ -115,6 +115,7 @@ tolerations: [] prometheus: # to be used with ingress controllers install: false + image: docker.io/prom/prometheus:v2.17.1 # Istio multi-cluster service mesh (shared control plane single-network) # https://istio.io/docs/setup/install/multicluster/shared-vpn/ diff --git a/docs/gitbook/dev/upgrade-guide.md b/docs/gitbook/dev/upgrade-guide.md index 675e6472..9fb634dc 100644 --- a/docs/gitbook/dev/upgrade-guide.md +++ b/docs/gitbook/dev/upgrade-guide.md @@ -12,6 +12,7 @@ Canary CRD changes in `canaries.flagger.app/v1beta1`: * the `spec.analysis.metrics[].templateRef` can reference a `metrictemplate.flagger.app/v1beta1` resource * the `metric.threshold` field has been deprecated and replaced with `metric.thresholdRange` * the `metric.query` field has been deprecated and replaced with `metric.templateRef` +* the `spec.ingressRef.apiVersion` accepts `networking.k8s.io/v1beta1` * the `spec.targetRef` can reference `DaemonSet` kind Upgrade procedure: diff --git a/docs/gitbook/install/flagger-install-on-kubernetes.md b/docs/gitbook/install/flagger-install-on-kubernetes.md index cd954666..fc022a22 100644 --- a/docs/gitbook/install/flagger-install-on-kubernetes.md +++ b/docs/gitbook/install/flagger-install-on-kubernetes.md @@ -4,7 +4,7 @@ This guide walks you through setting up Flagger on a Kubernetes cluster with Hel ## Prerequisites -Flagger requires a Kubernetes cluster **v1.13** or newer. +Flagger requires a Kubernetes cluster **v1.14** or newer. ## Install Flagger with Helm diff --git a/kustomize/base/flagger/kustomization.yaml b/kustomize/base/flagger/kustomization.yaml index 02f56d92..235dee49 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: 1.0.0-rc.3 + newTag: 1.0.0-rc.4 diff --git a/kustomize/base/prometheus/deployment.yaml b/kustomize/base/prometheus/deployment.yaml index 1541b16b..5b5def41 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.16.0 + image: prom/prometheus:v2.17.1 imagePullPolicy: IfNotPresent args: - '--storage.tsdb.retention=2h' diff --git a/pkg/version/version.go b/pkg/version/version.go index 37f098aa..54849115 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,4 +1,4 @@ package version -var VERSION = "1.0.0-rc.3" +var VERSION = "1.0.0-rc.4" var REVISION = "unknown"