Skip to content

Conversation

humit0
Copy link
Contributor

@humit0 humit0 commented May 2, 2025

Previously, the api-server component did not include webserver_config.py, making it impossible to configure settings such as LDAP or OAuth2 authentication.

This implementation references the existing method used by the webserver component.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added the area:helm-chart Airflow Helm Chart label May 2, 2025
Copy link
Contributor

@vincbeck vincbeck left a comment

Choose a reason for hiding this comment

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

Not an expert with helm so other reviews are welcome :)

@eladkal eladkal force-pushed the add-webserver-config branch from 67bc662 to 0bbbf43 Compare May 23, 2025 18:44
@eladkal eladkal added this to the Airflow Helm Chart 1.17.0 milestone May 23, 2025
@eladkal eladkal requested a review from romsharon98 May 25, 2025 05:19
Copy link
Contributor

@romsharon98 romsharon98 left a comment

Choose a reason for hiding this comment

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

LGTM

@romsharon98 romsharon98 merged commit 976acfa into apache:main May 27, 2025
65 checks passed
sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
* Add webserver_config.py file to api-server

* update example of apiServerConfigConfigMapName

Co-authored-by: rom sharon <[email protected]>

---------

Co-authored-by: rom sharon <[email protected]>
@@ -582,6 +582,17 @@ server_tls_key_file = /etc/pgbouncer/server.key
readOnly: True
{{- end }}

{{- define "airflow_api_server_config_configmap_name" -}}
{{- default (printf "%s-api-server-config" .Release.Name) .Values.webserver.webserverConfigConfigMapName }}
Copy link
Contributor

Choose a reason for hiding this comment

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

This points to the wrong section in the values file. I'll include the fix in a new MR

jose-lehmkuhl pushed a commit to jose-lehmkuhl/airflow that referenced this pull request Jul 11, 2025
* Add webserver_config.py file to api-server

* update example of apiServerConfigConfigMapName

Co-authored-by: rom sharon <[email protected]>

---------

Co-authored-by: rom sharon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:helm-chart Airflow Helm Chart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants