This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new d3aeae79bb7 Remove unused configurations (#49749)
d3aeae79bb7 is described below

commit d3aeae79bb7686982734befca7ac3d5815af66c0
Author: Kaxil Naik <[email protected]>
AuthorDate: Fri Apr 25 02:58:38 2025 +0530

    Remove unused configurations (#49749)
---
 .../src/airflow/config_templates/config.yml        | 34 ----------------------
 .../src/airflow/config_templates/unit_tests.cfg    |  2 --
 airflow-core/tests/unit/core/test_configuration.py |  1 -
 3 files changed, 37 deletions(-)

diff --git a/airflow-core/src/airflow/config_templates/config.yml 
b/airflow-core/src/airflow/config_templates/config.yml
index f63e39180e7..3bd5ef87483 100644
--- a/airflow-core/src/airflow/config_templates/config.yml
+++ b/airflow-core/src/airflow/config_templates/config.yml
@@ -207,13 +207,6 @@ core:
       sensitive: true
       example: ~
       default: "{FERNET_KEY}"
-    donot_pickle:
-      description: |
-        Whether to disable pickling dags
-      version_added: ~
-      type: string
-      example: ~
-      default: "True"
     dagbag_import_timeout:
       description: |
         How long before timing out a python file import
@@ -482,33 +475,6 @@ core:
       sensitive: true
       default: ~
       example: '{"some_param": "some_value"}'
-    database_access_isolation:
-      description: (experimental) Whether components should use Airflow 
Internal API for DB connectivity.
-      version_added: 2.6.0
-      type: boolean
-      example: ~
-      default: "False"
-    internal_api_url:
-      description: |
-        (experimental) Airflow Internal API url.
-        Only used if ``[core] database_access_isolation`` is ``True``.
-      version_added: 2.6.0
-      type: string
-      default: ~
-      example: 'http://localhost:8080'
-    internal_api_secret_key:
-      description: |
-        Secret key used to authenticate internal API clients to core. It 
should be as random as possible.
-        However, when running more than 1 instances of webserver / internal 
API services, make sure all
-        of them use the same ``secret_key`` otherwise calls will fail on 
authentication.
-        The authentication token generated using the secret key has a short 
expiry time though - make
-        sure that time on ALL the machines that you run airflow components on 
is synchronized
-        (for example using ntpd) otherwise you might get "forbidden" errors 
when the logs are accessed.
-      version_added: 2.10.0
-      type: string
-      sensitive: true
-      example: ~
-      default: "{SECRET_KEY}"
     test_connection:
       description: |
         The ability to allow testing connections across Airflow UI, API and 
CLI.
diff --git a/airflow-core/src/airflow/config_templates/unit_tests.cfg 
b/airflow-core/src/airflow/config_templates/unit_tests.cfg
index a19203e19d9..acd2aa77133 100644
--- a/airflow-core/src/airflow/config_templates/unit_tests.cfg
+++ b/airflow-core/src/airflow/config_templates/unit_tests.cfg
@@ -48,8 +48,6 @@ executor = LocalExecutor
 dags_are_paused_at_creation = False
 # We want to load examples
 load_examples = True
-# We want pickling to be enabled in tests
-donot_pickle = False
 # No default impersonation in tests - tests that run impersonation should set 
this explicitly
 default_impersonation =
 # We want to use unit test mode (though technically it is not needed as we set 
it in pytest fixture
diff --git a/airflow-core/tests/unit/core/test_configuration.py 
b/airflow-core/tests/unit/core/test_configuration.py
index 684f92a31a4..52d0b88b6ae 100644
--- a/airflow-core/tests/unit/core/test_configuration.py
+++ b/airflow-core/tests/unit/core/test_configuration.py
@@ -1711,7 +1711,6 @@ def test_sensitive_values():
     sensitive_values = {
         ("database", "sql_alchemy_conn"),
         ("core", "fernet_key"),
-        ("core", "internal_api_secret_key"),
         ("api_auth", "jwt_secret"),
         ("webserver", "secret_key"),
         ("secrets", "backend_kwargs"),

Reply via email to