Skip to content

Conversation

@nhuantho
Copy link
Contributor

What:

  • When I read #53198 and then checked the {release-name}-create-user-job, I saw that it is used only to create a user via the airflow users command (FAB CLI Commands). Therefore, I believe that defaultUser should not be part of the webserver or apiServer.
  • From my perspective, we should decouple the responsibilities of each service. Currently, createUserJob depends on the webserver, but the webserver has been replaced by the apiServer. As a result, we should move defaultUser to the apiServer configuration.

Solution:

  • Move defaultUser into createUserJob to isolate the functionality of createUserJob.
  • Remove the usage of webserver.defaultUser from the Helm chart and related tests.

^ 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.

@nhuantho
Copy link
Contributor Author

I cleaned the fork branch, so it affected to close pr:59715, so I created an alternative pr.

@romsharon98 romsharon98 merged commit f86820e into apache:main Dec 24, 2025
93 checks passed
@nhuantho nhuantho deleted the helm/move-defaultUser-to-createUserJob branch December 26, 2025 04:31
amoghrajesh pushed a commit to astronomer/airflow that referenced this pull request Dec 29, 2025
* [helm] Move defaultUser to createUserJob

* [test] Fix ruff format

* [test] Fix static check value of chart

* remove redundant file

---------

Co-authored-by: nhuan.bc <nhuan.bc@teko.vn>
@Charlesfox1
Copy link

Hi there - the default values of the latest Helm chart version (1.18) still reference defaultUser under webserver:

Helm Chart link.

Is that planned to change in the next version of the Apache Airflow Helm chart?

I'm trying to deploy v1.18 with modified admin user credentials. Thanks so much, sorry if answer is obvious.

@jscheffl
Copy link
Contributor

Is that planned to change in the next version of the Apache Airflow Helm chart?

I'm trying to deploy v1.18 with modified admin user credentials. Thanks so much, sorry if answer is obvious.

Yes, see this PR. You can wait until (pending/overduw) 1.19 release of the helm chart or pull it from main which includes this here.

Subham-KRLX pushed a commit to Subham-KRLX/airflow that referenced this pull request Jan 2, 2026
* [helm] Move defaultUser to createUserJob

* [test] Fix ruff format

* [test] Fix static check value of chart

* remove redundant file

---------

Co-authored-by: nhuan.bc <nhuan.bc@teko.vn>
stegololz pushed a commit to stegololz/airflow that referenced this pull request Jan 9, 2026
* [helm] Move defaultUser to createUserJob

* [test] Fix ruff format

* [test] Fix static check value of chart

* remove redundant file

---------

Co-authored-by: nhuan.bc <nhuan.bc@teko.vn>
@jscheffl jscheffl added this to the Airflow Helm Chart 1.19.0 milestone Jan 10, 2026
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.

4 participants