potiuk edited a comment on issue #19688: URL: https://github.com/apache/airflow/issues/19688#issuecomment-974053214
> @potiuk I know this is not a helm's problem, when I mentioned db init, I'm excluding all considerations about a problem with a helm chart, because I runned db init outside of helm was after finished the deploy, it's because of that I created a issue like airflow bug and not a helm chart bug. The `airflow db init` works in the latest (and 2.2.1) release if run properly, with the right DB. I just re-checked 2.2.1 and it works as expected: ``` ./breeze start-airflow --use-airflow-version 2.2.1 --load-default-connections ```  So you probably run `airflow db init` for a different database or did not set the variable when run it. Please double check it. > Besides, I still thinking that in my first helm chart deploy, so it's not an upgrade it's my initial release, when I set the variable AIRFLOW__CORE__LOAD_DEFAULT_CONNECTIONS to true I expected to see the default connections created in my connection table in postgres and this is not happening. How this is not a bug ? It's not. As mentioned already several times ```AIRFLOW__CORE__LOAD_DEFAULT_CONNECTIONS``` is a development setting: Via: https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#load-default-connections > Whether to load the default connections that ship with Airflow. It’s good to get started, but you probably want to set this to False in a production environment Where Helm chart is production deployment, where you should managed your data on your own. Helm is inteded to be used as production deployment so this setting should be (and is) not effective. If you want to `play` with the default settings and get "quick start" with airflow with default connections - you can easiily use https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html - this is our "play" and "development" setting, not the Helm chart. And there we use `airflow db init` (there is even separate step to run which is called "initialize the database": https://airflow.apache.org/docs/apache-airflow/stable/start/docker.html#initialize-the-database) that will create the default connections if you set this variable. -- 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]
