question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not change webserver.defaultUser.password when install by helm

See original GitHub issue

Apache Airflow version: latest helm chart from master branch

Kubernetes version (if you are using kubernetes) (use kubectl version): 1.18

What happened:

git clone https://github.com/apache/airflow.git
helm dependency update
helm install --set webserver.defaultUser.password=new_password,ingress.enabled=true,ingress.hosts[0]=airflow.192.168.22.7.xip.io airflow ./

Login as admin:admin

What you expected to happen: i think login as admin:new_password

Can not change webserver.defaultUser.password when install by helm

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kaxilcommented, Dec 8, 2021

@Bash- I would recommend you use APIs for that functionality – or just CLI with null-resource to run bash commands

0reactions
Bash-commented, Dec 8, 2021

We indeed use Terraform to provision the infrastructure we need for Airflow, including the database. But alright, we will think about how we can create users easily and safely with our setup, as a step after Airflow is deployed. Thank you for your explanation!

Read more comments on GitHub >

github_iconTop Results From Across the Web

User Environment Variable with airflow.webserver.defaultUser ...
I am using the Helm chart for Apache Airflow and trying to set the password of the default user to the value of...
Read more >
airflow 8.1.2 · airflow-helm/airflow-helm - Artifact Hub
You can use the airflow.users value to create airflow users with a post-install/post-update helm hook Job. ⚠️ if you need to edit the...
Read more >
Parameters reference — helm-chart Documentation
Default user password. admin. webserver.defaultUser.role. Default user role.
Read more >
How to change the default idm user via the Helm Chart
When using the helm chart, how do we change the default username/password? We tried passing the java opts to the helm install command...
Read more >
Getting Started With the Official Airflow Helm Chart - YouTube
The official helm chart of Apache Airflow is out! The days of wondering what ... Your browser can ' t play this video....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found