Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove inapplicable configuration section [ldap] (since 2.0.0) #12386

Merged
merged 2 commits into from
Nov 16, 2020

Conversation

XD-DENG
Copy link
Member

@XD-DENG XD-DENG commented Nov 16, 2020

Closes #12385

[ldap] section in airflow.cfg is not applicable anymore in 2.0 and master, because the LDAP authentication (for webserver and API) is handled by FAB, and the configuration for this is handled by webserver_config.py file.

In this PR, the [ldap] section is removed from airflow/config_templates/default_airflow.cfg and airflow/config_templates/config.yml (and some other applicable files).


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

[ldap] section in airflow.cfg is not applicable anymore in 2.0 and master,
because the LDAP authentication (for webserver and API) is handled by FAB,
and the configuration for this is handled by webserver_config.py file.
@XD-DENG XD-DENG added the type:improvement Changelog: Improvements label Nov 16, 2020
@XD-DENG XD-DENG added this to the Airflow 2.0.0-beta4 milestone Nov 16, 2020
@XD-DENG XD-DENG requested a review from ashb November 16, 2020 18:45
@XD-DENG
Copy link
Member Author

XD-DENG commented Nov 16, 2020

Hi @ashb , please help decide if this should be in beta3 or beta4.

For now I put beta4 first.

Copy link
Member

@ashb ashb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just go for the next beta, so b3 right now

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Nov 16, 2020
@github-actions
Copy link

The PR needs to run all tests because it modifies core of Airflow! Please rebase it to latest master or ask committer to re-run it!

@XD-DENG XD-DENG removed the full tests needed We need to run full set of tests for this PR to merge label Nov 16, 2020
@XD-DENG XD-DENG merged commit 35b5614 into apache:master Nov 16, 2020
@XD-DENG XD-DENG deleted the issue-12385 branch November 16, 2020 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ldap] section in configuration is not applicable anymore in 2.0
2 participants