BasPH opened a new pull request, #28892:
URL: https://github.com/apache/airflow/pull/28892

   This PR displays only the running configuration in the configurations view. 
The (very confusing) default configuration is not displayed anymore. I 
regularly encounter confusion among Airflow users on this page about what is 
actually the running value of a config option.
   
   This follows up on https://github.com/apache/airflow/pull/14641, which went 
stale.
   
   There's an undocumented `/configuration?raw=true` endpoint to download the 
config. There's a `/config` endpoint in the REST API which users should use 
instead. I can't imagine anybody using this `raw=true` endpoint, but added a 
`Deprecation` header to the response to indicate the upcoming removal. If 
there's a better way to indicate deprecation, please let me know.
   
   **After:**
   `AIRFLOW__WEBSERVER__EXPOSE_CONFIG=True`:
   
![image](https://user-images.githubusercontent.com/6249654/212119222-afc107c5-d072-44a6-ac8c-f6e2b118112d.png)
   
   `AIRFLOW__WEBSERVER__EXPOSE_CONFIG=False`:
   
![image](https://user-images.githubusercontent.com/6249654/212119696-f75e1c96-785f-4436-a810-f98c8e11c7f7.png)
   
   **Before:**
   `AIRFLOW__WEBSERVER__EXPOSE_CONFIG=True`:
   
![image](https://user-images.githubusercontent.com/6249654/212120866-9dc82ebf-000c-4e02-9543-81a85919efee.png)
   
   `AIRFLOW__WEBSERVER__EXPOSE_CONFIG=False`:
   
![image](https://user-images.githubusercontent.com/6249654/212120219-c085d110-5f01-4dcd-8c60-ce54815acb76.png)
   
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code changes, an Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in a 
newsfragment file, named `{pr_number}.significant.rst` or 
`{issue_number}.significant.rst`, in 
[newsfragments](https://github.com/apache/airflow/tree/main/newsfragments).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to