diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c8eb08b0bc2e2..c8ab40318288d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -749,6 +749,9 @@ repos: files: newsfragments/.*\.rst entry: ./scripts/ci/pre_commit/pre_commit_newsfragments.py pass_filenames: true + # We sometimes won't have newsfragments in the repo, so always run it so `check-hooks-apply` passes + # This is fast, so not too much downside + always_run: true ## ADD MOST PRE-COMMITS ABOVE THAT LINE # The below pre-commits are those requiring CI image to be built - id: run-mypy diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 96eab11711e4a..dd450a0ccb57a 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -64,3 +64,81 @@ annotations: url: https://airflow.apache.org/docs/apache-airflow/2.3.0/_images/code.png - title: Task Instance Context Menu url: https://airflow.apache.org/docs/apache-airflow/2.3.0/_images/context.png + artifacthub.io/changes: | + - description: Support ``annotations`` on ``volumeClaimTemplates`` + kind: added + links: + - name: '#23433' + url: https://github.com/apache/airflow/pull/23433 + - description: Add support for ``topologySpreadConstraints`` to Helm Chart + kind: added + links: + - name: '#22712' + url: https://github.com/apache/airflow/pull/22712 + - description: Helm support for LocalKubernetesExecutor + kind: added + links: + - name: '#22388' + url: https://github.com/apache/airflow/pull/22388 + - description: Add ``securityContext`` config for Redis to Helm chart + kind: added + links: + - name: '#22182' + url: https://github.com/apache/airflow/pull/22182 + - description: Allow ``annotations`` on Helm DAG PVC + kind: added + links: + - name: '#22261' + url: https://github.com/apache/airflow/pull/22261 + - description: enable optional ``subPath`` for DAGs volume mount + kind: added + links: + - name: '#22323' + url: https://github.com/apache/airflow/pull/22323 + - description: Added support to override ``auth_type`` in ``auth_file`` in PgBouncer + Helm configuration + kind: added + links: + - name: '#21999' + url: https://github.com/apache/airflow/pull/21999 + - description: Add ``extraVolumeMounts`` to Flower + kind: added + links: + - name: '#22414' + url: https://github.com/apache/airflow/pull/22414 + - description: Add webserver ``PodDisruptionBudget`` + kind: added + links: + - name: '#21735' + url: https://github.com/apache/airflow/pull/21735 + - description: Ensure the messages from migration job show up early + kind: changed + links: + - name: '#23479' + url: https://github.com/apache/airflow/pull/23479 + - description: Allow migration jobs and init containers to be optional + kind: changed + links: + - name: '#22195' + url: https://github.com/apache/airflow/pull/22195 + - description: Use jobs check command for liveness probe check in Airflow 2 + kind: changed + links: + - name: '#22143' + url: https://github.com/apache/airflow/pull/22143 + - description: 'Docs: Adds ``resultBackendSecretName`` warning in Helm production + docs' + kind: changed + links: + - name: '#23307' + url: https://github.com/apache/airflow/pull/23307 + - description: 'Misc: Update default Airflow version to ``2.3.0``' + kind: changed + links: + - name: '#23386' + url: https://github.com/apache/airflow/pull/23386 + - description: 'Misc: Move the database configuration to a new section' + kind: changed + links: + - name: '#22284' + url: https://github.com/apache/airflow/pull/22284 diff --git a/chart/RELEASE_NOTES.rst b/chart/RELEASE_NOTES.rst index 3d02a73bd2c6a..56ed2077e2b49 100644 --- a/chart/RELEASE_NOTES.rst +++ b/chart/RELEASE_NOTES.rst @@ -23,6 +23,49 @@ Run ``helm repo update`` before upgrading the chart to the latest version. .. towncrier release notes start +Airflow Helm Chart 1.6.0 (2022-05-12) +------------------------------------- + +Significant Changes +^^^^^^^^^^^^^^^^^^^ + +Default Airflow image is updated to ``2.3.0`` (#23386) +"""""""""""""""""""""""""""""""""""""""""""""""""""""" + +The default Airflow image that is used with the Chart is now ``2.3.0``, previously it was ``2.2.4``. + +New Features +^^^^^^^^^^^^ + +- Support ``annotations`` on ``volumeClaimTemplates`` (#23433) +- Add support for ``topologySpreadConstraints`` to Helm Chart (#22712) +- Helm support for LocalKubernetesExecutor (#22388) +- Add ``securityContext`` config for Redis to Helm chart (#22182) +- Allow ``annotations`` on Helm DAG PVC (#22261) +- enable optional ``subPath`` for DAGs volume mount (#22323) +- Added support to override ``auth_type`` in ``auth_file`` in PgBouncer Helm configuration (#21999) +- Add ``extraVolumeMounts`` to Flower (#22414) +- Add webserver ``PodDisruptionBudget`` (#21735) + +Improvements +^^^^^^^^^^^^ + +- Ensure the messages from migration job show up early (#23479) +- Allow migration jobs and init containers to be optional (#22195) +- Use jobs check command for liveness probe check in Airflow 2 (#22143) + +Doc only changes +^^^^^^^^^^^^^^^^ + +- Adds ``resultBackendSecretName`` warning in Helm production docs (#23307) + +Misc +^^^^ + +- Update default Airflow version to ``2.3.0`` (#23386) +- Move the database configuration to a new section (#22284) + + Airflow Helm Chart 1.5.0, (2022-03-07) -------------------------------------- diff --git a/chart/newsfragments/23386.significant.rst b/chart/newsfragments/23386.significant.rst deleted file mode 100644 index f7034aa9a83e8..0000000000000 --- a/chart/newsfragments/23386.significant.rst +++ /dev/null @@ -1,3 +0,0 @@ -Default Airflow image is updated to ``2.3.0`` - -The default Airflow image that is used with the Chart is now ``2.3.0``, previously it was ``2.2.4``.