From 8eebe2b4c8e1271d26a796ec599b43b46941125c Mon Sep 17 00:00:00 2001 From: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:32:43 -0600 Subject: [PATCH] Chart: Release notes for 1.14.0 (#40246) --- chart/Chart.yaml | 107 +++++++++++++++++++--- chart/RELEASE_NOTES.rst | 75 +++++++++++++++ chart/newsfragments/37197.significant.rst | 8 -- chart/newsfragments/40160.significant.rst | 3 - chart/newsfragments/40229.significant.rst | 6 -- chart/reproducible_build.yaml | 4 +- 6 files changed, 173 insertions(+), 30 deletions(-) delete mode 100644 chart/newsfragments/37197.significant.rst delete mode 100644 chart/newsfragments/40160.significant.rst delete mode 100644 chart/newsfragments/40229.significant.rst diff --git a/chart/Chart.yaml b/chart/Chart.yaml index a468bf0ae6d46..f44bc7ed870a8 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -65,19 +65,104 @@ annotations: - title: Code View url: https://airflow.apache.org/docs/apache-airflow/2.9.2/_images/code.png artifacthub.io/changes: | - - description: Don't overwrite ``.Values.airflowPodAnnotations`` - kind: fixed + - description: Enable MySQL KEDA support for triggerer + kind: added + links: + - name: '#37365' + url: https://github.com/apache/airflow/pull/37365 + - description: Allow AWS Executors + kind: added links: - - name: '#37917' - url: https://github.com/apache/airflow/pull/37917 - - description: Fix cluster-wide RBAC naming clash when using multiple ``multiNamespace`` - releases with the same name + - name: '#38524' + url: https://github.com/apache/airflow/pull/38524 + - description: Allow ``valueFrom`` in env config of components + kind: changed + links: + - name: '#40135' + url: https://github.com/apache/airflow/pull/40135 + - description: Enable templating in ``extraContainers`` and ``extraInitContainers`` + kind: changed + links: + - name: '#38507' + url: https://github.com/apache/airflow/pull/38507 + - description: Add safe-to-evict annotation to pod-template-file + kind: changed + links: + - name: '#37352' + url: https://github.com/apache/airflow/pull/37352 + - description: Support ``workers.command`` for KubernetesExecutor + kind: changed + links: + - name: '#39132' + url: https://github.com/apache/airflow/pull/39132 + - description: Add ``priorityClassName`` to Jobs + kind: changed + links: + - name: '#39133' + url: https://github.com/apache/airflow/pull/39133 + - description: Add Kerberos sidecar to pod-template-file + kind: changed + links: + - name: '#38815' + url: https://github.com/apache/airflow/pull/38815 + - description: Add templated field support for extra containers + kind: changed + links: + - name: '#38510' + url: https://github.com/apache/airflow/pull/38510 + - description: Set ``workers.safeToEvict`` default to False kind: fixed links: - - name: '#37197' - url: https://github.com/apache/airflow/pull/37197 - - description: 'Misc: Default airflow version to 2.8.3' + - name: '#40229' + url: https://github.com/apache/airflow/pull/40229 + - description: 'Docs: Document ``extraContainers`` and ``extraInitContainers`` that + are templated' + kind: changed + links: + - name: '#40033' + url: https://github.com/apache/airflow/pull/40033 + - description: 'Docs: Fix typo in HorizontalPodAutoscaling documentation' + kind: changed + links: + - name: '#39307' + url: https://github.com/apache/airflow/pull/39307 + - description: 'Docs: Fix supported k8s versions in docs' + kind: changed + links: + - name: '#39172' + url: https://github.com/apache/airflow/pull/39172 + - description: 'Docs: Fix typo in YAML path for ``brokerUrlSecretName``' + kind: changed + links: + - name: '#39115' + url: https://github.com/apache/airflow/pull/39115 + - description: 'Misc: Default Airflow version to 2.9.2' + kind: changed + links: + - name: '#40160' + url: https://github.com/apache/airflow/pull/40160 + - description: 'Misc: Limit Redis image to 7.2' + kind: changed + links: + - name: '#38928' + url: https://github.com/apache/airflow/pull/38928 + - description: 'Misc: Build Helm values schemas with Kubernetes 1.29 resources' + kind: changed + links: + - name: '#38460' + url: https://github.com/apache/airflow/pull/38460 + - description: 'Misc: Add missing containers to resources docs' + kind: changed + links: + - name: '#38534' + url: https://github.com/apache/airflow/pull/38534 + - description: 'Misc: Upgrade StatsD Exporter image to 0.26.1' + kind: changed + links: + - name: '#38416' + url: https://github.com/apache/airflow/pull/38416 + - description: 'Misc: Remove K8S 1.25 support' kind: changed links: - - name: '#38036' - url: https://github.com/apache/airflow/pull/38036 + - name: '#38367' + url: https://github.com/apache/airflow/pull/38367 diff --git a/chart/RELEASE_NOTES.rst b/chart/RELEASE_NOTES.rst index 6f476bbc94480..659bf7b6952f0 100644 --- a/chart/RELEASE_NOTES.rst +++ b/chart/RELEASE_NOTES.rst @@ -23,6 +23,81 @@ Run ``helm repo update`` before upgrading the chart to the latest version. .. towncrier release notes start + +Airflow Helm Chart 1.14.0 (2024-06-18) +-------------------------------------- + +Significant Changes +^^^^^^^^^^^^^^^^^^^ + +``ClusterRole`` and ``ClusterRoleBinding`` names have been updated to be unique (#37197) +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +``ClusterRole``s and ``ClusterRoleBinding``s created when ``multiNamespaceMode`` is enabled have been renamed to ensure unique names: + + * ``{{ include "airflow.fullname" . }}-pod-launcher-role`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-pod-launcher-role`` + * ``{{ include "airflow.fullname" . }}-pod-launcher-rolebinding`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-pod-launcher-rolebinding`` + * ``{{ include "airflow.fullname" . }}-pod-log-reader-role`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-pod-log-reader-role`` + * ``{{ include "airflow.fullname" . }}-pod-log-reader-rolebinding`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-pod-log-reader-rolebinding`` + * ``{{ include "airflow.fullname" . }}-scc-rolebinding`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-scc-rolebinding`` + +``workers.safeToEvict`` default changed to False (#40229) +""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +The default for ``workers.safeToEvict`` now defaults to False. This is a safer default +as it prevents the nodes workers are running on from being scaled down by the +`K8s Cluster Autoscaler `_. +If you would like to retain the previous behavior, you can set this config to True. + +Default Airflow image is updated to ``2.9.2`` (#40160) +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +The default Airflow image that is used with the Chart is now ``2.9.2``, previously it was ``2.8.3``. + +Default StatsD image is updated to ``v0.26.1`` (#38416) +""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +The default StatsD image that is used with the Chart is now ``v0.26.1``, previously it was ``v0.26.0``. + +New Features +^^^^^^^^^^^^ + +- Enable MySQL KEDA support for triggerer (#37365) +- Allow AWS Executors (#38524) + +Improvements +^^^^^^^^^^^^ + +- Allow ``valueFrom`` in env config of components (#40135) +- Enable templating in ``extraContainers`` and ``extraInitContainers`` (#38507) +- Add safe-to-evict annotation to pod-template-file (#37352) +- Support ``workers.command`` for KubernetesExecutor (#39132) +- Add ``priorityClassName`` to Jobs (#39133) +- Add Kerberos sidecar to pod-template-file (#38815) +- Add templated field support for extra containers (#38510) + +Bug Fixes +^^^^^^^^^ + +- Set ``workers.safeToEvict`` default to False (#40229) + +Doc only changes +^^^^^^^^^^^^^^^^ + +- Document ``extraContainers`` and ``extraInitContainers`` that are templated (#40033) +- Fix typo in HorizontalPodAutoscaling documentation (#39307) +- Fix supported k8s versions in docs (#39172) +- Fix typo in YAML path for ``brokerUrlSecretName`` (#39115) + +Misc +^^^^ +- Default Airflow version to 2.9.2 (#40160) +- Limit Redis image to 7.2 (#38928) +- Build Helm values schemas with Kubernetes 1.29 resources (#38460) +- Add missing containers to resources docs (#38534) +- Upgrade StatsD Exporter image to 0.26.1 (#38416) +- Remove K8S 1.25 support (#38367) + Airflow Helm Chart 1.13.1 (2024-03-25) -------------------------------------- diff --git a/chart/newsfragments/37197.significant.rst b/chart/newsfragments/37197.significant.rst deleted file mode 100644 index 68f3aad567c7f..0000000000000 --- a/chart/newsfragments/37197.significant.rst +++ /dev/null @@ -1,8 +0,0 @@ -Fixed name clashes when using multiple Airflow deployments in ``multiNamespaceMode`` across several namespaces. - -``ClusterRole``s and ``ClusterRoleBinding``s created when ``multiNamespaceMode`` is enabled have been renamed to ensure unique names: -* ``{{ include "airflow.fullname" . }}-pod-launcher-role`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-pod-launcher-role`` -* ``{{ include "airflow.fullname" . }}-pod-launcher-rolebinding`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-pod-launcher-rolebinding`` -* ``{{ include "airflow.fullname" . }}-pod-log-reader-role`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-pod-log-reader-role`` -* ``{{ include "airflow.fullname" . }}-pod-log-reader-rolebinding`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-pod-log-reader-rolebinding`` -* ``{{ include "airflow.fullname" . }}-scc-rolebinding`` has been renamed to ``{{ .Release.Namespace }}-{{ include "airflow.fullname" . }}-scc-rolebinding`` diff --git a/chart/newsfragments/40160.significant.rst b/chart/newsfragments/40160.significant.rst deleted file mode 100644 index 6c9d2f69fff5f..0000000000000 --- a/chart/newsfragments/40160.significant.rst +++ /dev/null @@ -1,3 +0,0 @@ -Default Airflow image is updated to ``2.9.2`` - -The default Airflow image that is used with the Chart is now ``2.9.2``, previously it was ``2.8.3``. diff --git a/chart/newsfragments/40229.significant.rst b/chart/newsfragments/40229.significant.rst deleted file mode 100644 index 56187f3f606b4..0000000000000 --- a/chart/newsfragments/40229.significant.rst +++ /dev/null @@ -1,6 +0,0 @@ -``workers.safeToEvict`` default changed to False - -The default for ``workers.safeToEvict`` now defaults to False. This is a safer default -as it prevents the nodes workers are running on from being scaled down by the -[K8s Cluster Autoscaler](https://kubernetes.io/docs/concepts/cluster-administration/cluster-autoscaling/#cluster-autoscaler). -If you would like to retain the previous behavior, you can set this config to True. diff --git a/chart/reproducible_build.yaml b/chart/reproducible_build.yaml index 03408d3cfafbb..c338e73460976 100644 --- a/chart/reproducible_build.yaml +++ b/chart/reproducible_build.yaml @@ -1,2 +1,2 @@ -release-notes-hash: f4e3070576d91f91c4501646b7328780 -source-date-epoch: 1711032782 +release-notes-hash: c9b52ff32ae324a48a1fa882296e59ae +source-date-epoch: 1718392375