-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Add webserver_config.py file to api-server #50108
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
Conversation
There was a problem hiding this 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 :)
67bc662
to
0bbbf43
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: rom sharon <[email protected]>
* 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 }} |
There was a problem hiding this comment.
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
* 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]>
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.