diff --git a/images/airflow/2.10.1/python/mwaa/config/airflow.py b/images/airflow/2.10.1/python/mwaa/config/airflow.py index 0a5ac092..adb9feb0 100644 --- a/images/airflow/2.10.1/python/mwaa/config/airflow.py +++ b/images/airflow/2.10.1/python/mwaa/config/airflow.py @@ -85,6 +85,7 @@ def _get_opinionated_airflow_core_config() -> Dict[str, str]: return { "AIRFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER": "True", + "AIRFLOW__CORE__SENSITIVE_VAR_CONN_NAMES": "proxy,proxies", } diff --git a/images/airflow/2.10.3/python/mwaa/config/airflow.py b/images/airflow/2.10.3/python/mwaa/config/airflow.py index 0a5ac092..adb9feb0 100644 --- a/images/airflow/2.10.3/python/mwaa/config/airflow.py +++ b/images/airflow/2.10.3/python/mwaa/config/airflow.py @@ -85,6 +85,7 @@ def _get_opinionated_airflow_core_config() -> Dict[str, str]: return { "AIRFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER": "True", + "AIRFLOW__CORE__SENSITIVE_VAR_CONN_NAMES": "proxy,proxies", } diff --git a/images/airflow/2.11.0/python/mwaa/config/airflow.py b/images/airflow/2.11.0/python/mwaa/config/airflow.py index 0a5ac092..adb9feb0 100644 --- a/images/airflow/2.11.0/python/mwaa/config/airflow.py +++ b/images/airflow/2.11.0/python/mwaa/config/airflow.py @@ -85,6 +85,7 @@ def _get_opinionated_airflow_core_config() -> Dict[str, str]: return { "AIRFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER": "True", + "AIRFLOW__CORE__SENSITIVE_VAR_CONN_NAMES": "proxy,proxies", } diff --git a/images/airflow/2.9.2/python/mwaa/config/airflow.py b/images/airflow/2.9.2/python/mwaa/config/airflow.py index 91b48a10..4b07a685 100644 --- a/images/airflow/2.9.2/python/mwaa/config/airflow.py +++ b/images/airflow/2.9.2/python/mwaa/config/airflow.py @@ -85,6 +85,7 @@ def _get_opinionated_airflow_core_config() -> Dict[str, str]: return { "AIRFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER": "True", + "AIRFLOW__CORE__SENSITIVE_VAR_CONN_NAMES": "proxy,proxies", } diff --git a/images/airflow/3.0.6/python/mwaa/config/airflow.py b/images/airflow/3.0.6/python/mwaa/config/airflow.py index 4f33e269..aacfd176 100644 --- a/images/airflow/3.0.6/python/mwaa/config/airflow.py +++ b/images/airflow/3.0.6/python/mwaa/config/airflow.py @@ -94,6 +94,7 @@ def _get_opinionated_airflow_core_config() -> Dict[str, str]: return { "AIRFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER": "True", + "AIRFLOW__CORE__SENSITIVE_VAR_CONN_NAMES": "proxy,proxies", } diff --git a/images/airflow/3.1.6/python/mwaa/config/airflow.py b/images/airflow/3.1.6/python/mwaa/config/airflow.py index 4f33e269..aacfd176 100644 --- a/images/airflow/3.1.6/python/mwaa/config/airflow.py +++ b/images/airflow/3.1.6/python/mwaa/config/airflow.py @@ -94,6 +94,7 @@ def _get_opinionated_airflow_core_config() -> Dict[str, str]: return { "AIRFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER": "True", + "AIRFLOW__CORE__SENSITIVE_VAR_CONN_NAMES": "proxy,proxies", } diff --git a/tests/images/airflow/3.0.6/python/mwaa/config/test_airflow.py b/tests/images/airflow/3.0.6/python/mwaa/config/test_airflow.py index 1ac2ea53..b79956c5 100644 --- a/tests/images/airflow/3.0.6/python/mwaa/config/test_airflow.py +++ b/tests/images/airflow/3.0.6/python/mwaa/config/test_airflow.py @@ -95,6 +95,7 @@ def test_get_opinionated_airflow_core_config(): result = _get_opinionated_airflow_core_config() assert result["AIRFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER"] == "True" + assert result["AIRFLOW__CORE__SENSITIVE_VAR_CONN_NAMES"] == "proxy,proxies" # --------------------------------- # User Airflow Config Tests diff --git a/tests/images/airflow/3.1.6/python/mwaa/config/test_airflow.py b/tests/images/airflow/3.1.6/python/mwaa/config/test_airflow.py index 1ac2ea53..b79956c5 100644 --- a/tests/images/airflow/3.1.6/python/mwaa/config/test_airflow.py +++ b/tests/images/airflow/3.1.6/python/mwaa/config/test_airflow.py @@ -95,6 +95,7 @@ def test_get_opinionated_airflow_core_config(): result = _get_opinionated_airflow_core_config() assert result["AIRFLOW__CORE__EXECUTE_TASKS_NEW_PYTHON_INTERPRETER"] == "True" + assert result["AIRFLOW__CORE__SENSITIVE_VAR_CONN_NAMES"] == "proxy,proxies" # --------------------------------- # User Airflow Config Tests