dosubot[bot] commented on issue #35550: URL: https://github.com/apache/superset/issues/35550#issuecomment-3375508782
<!-- Answer --> In Superset 5.0.0, setting ADMIN_PASSWORD in extraEnv works for Docker-based deployments because the container's initialization script reads this environment variable to set the admin password during user creation. However, if you're deploying with the Helm chart, the admin password is actually set from the value at `init.adminUser.password` in your `values.yaml` file, not directly from the ADMIN_PASSWORD environment variable—even if you inject it via extraEnv. So, to override the admin password in a Helm deployment, you need to set your desired password under `init.adminUser.password` in your Helm values, not just in extraEnv. The default remains "admin" unless you change this value. See the Helm chart's admin user creation logic for details: [helm/superset/values.yaml](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/helm/superset/values.yaml) If you want to ensure your password is applied, update `init.adminUser.password` and redeploy, making sure the init job runs and isn't skipped or cached. If you’re using Docker directly (not Helm), setting ADMIN_PASSWORD in the environment should work as expected, as shown in the container's entrypoint script: [docker-init.sh](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/docker/docker-init.sh) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/2de7c930-2046-49d3-abb6-26a0889a7550?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/2de7c930-2046-49d3-abb6-26a0889a7550?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/2de7c930-2046-49d3-abb6-26a0889a7550?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/2de7c930-2046-49d3-abb6-26a0889a7550?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2de7c930-2046-49d3-abb6-26a0889a7550?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/2de7c930-2046-49d3-abb6-26a0889a7550?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2de7c930-2046-49d3-abb6-26a0889a7550?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35550) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
