This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-7-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 2b312cd16291063f18e812a07c19b599f0f5ab82 Author: Jarek Potiuk <[email protected]> AuthorDate: Fri Aug 4 19:59:16 2023 +0200 Add notes about pre-2-7 config and cli options in providers (#33123) The config and CLI available in provider documentation is only used as of Airflow 2.7.0. Notes about it have been added in the relevant files. (cherry picked from commit 9adb265e0ee697375970c8eeb83f279a8671d91a) --- docs/apache-airflow-providers-celery/cli-ref.rst | 6 ++++++ docs/apache-airflow-providers-cncf-kubernetes/cli-ref.rst | 5 +++++ docs/exts/includes/providers-configurations-ref.rst | 6 ++++++ 3 files changed, 17 insertions(+) diff --git a/docs/apache-airflow-providers-celery/cli-ref.rst b/docs/apache-airflow-providers-celery/cli-ref.rst index 4a3b4074be..f2e40874f9 100644 --- a/docs/apache-airflow-providers-celery/cli-ref.rst +++ b/docs/apache-airflow-providers-celery/cli-ref.rst @@ -18,6 +18,12 @@ Celery Executor Commands ------------------------ +.. note:: + The CLI commands below are used from provider by Airflow 2.7.0+. + Previously they were part of the core Airflow, so if you are using Airflow below 2.7.0 look at + the core Airflow documentation for the list of CLI commands and parameters available. + + .. argparse:: :module: airflow.providers.celery.executors.celery_executor :func: _get_parser diff --git a/docs/apache-airflow-providers-cncf-kubernetes/cli-ref.rst b/docs/apache-airflow-providers-cncf-kubernetes/cli-ref.rst index 88497a1748..daa7d047f3 100644 --- a/docs/apache-airflow-providers-cncf-kubernetes/cli-ref.rst +++ b/docs/apache-airflow-providers-cncf-kubernetes/cli-ref.rst @@ -18,6 +18,11 @@ Kubernetes Executor Commands ============================ +.. note:: + The CLI commands below are used from provider by Airflow 2.7.0+. + Previously they were part of the core Airflow, so if you are using Airflow below 2.7.0 look at + the core Airflow documentation for the list of CLI commands and parameters available. + .. argparse:: :module: airflow.providers.cncf.kubernetes.executors.kubernetes_executor :func: _get_parser diff --git a/docs/exts/includes/providers-configurations-ref.rst b/docs/exts/includes/providers-configurations-ref.rst index d696e126bb..68f9a55884 100644 --- a/docs/exts/includes/providers-configurations-ref.rst +++ b/docs/exts/includes/providers-configurations-ref.rst @@ -23,6 +23,12 @@ Configuration Reference This page contains the list of all available Airflow configurations for the ``{{ package_name }}`` provider that can be set in the ``airflow.cfg`` file or using environment variables. + .. note:: + The configuration embedded in provider packages started to be used as of Airflow 2.7.0. Previously the + configuration was described and configured in the Airflow core package - so if you are using Airflow + below 2.7.0, look at Airflow documentation for the list of available configuration options + that were available in Airflow core. + .. note:: For more information see :doc:`apache-airflow:howto/set-config`.
