stijndehaes commented on issue #4931: [AIRFLOW-4109] Added support for passing 
the airflow fernet key to th…
URL: https://github.com/apache/airflow/pull/4931#issuecomment-474712030
 
 
   Airflow spawns the kubernetes executors itself, the config put in the 
scheduler or web pods is not passed along to the worker. Only simple env 
variables like the postgres connection. This was the code I was editing in my 
PR. To pass extra config we can use the `[kubernetes_secrets]` part of the 
config see: 
https://github.com/apache/airflow/blob/c7d640bb6a8edc21c6db5107d39bbfeff1a72169/airflow/config_templates/default_airflow.cfg
   
   In a later release we can use `[kubernetes_environment_variables]` as well. 
   
   But at this point none of the config is passed to the workers. I could use 
the `kubernetes.airflow_configmap` variable, but I am not creating a 
airflow.cfg, I am passing all configuration as environment variables so I have 
no configmap to mount.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to