Thanks for the reply, Jed.  I thought of that, but if you delete the pod, 
another one comes up and recreates the default webserver_config.py.  The 
webserver_config.py is not persisted.  Perhaps I am missing something.

From: Jed Cunningham <[email protected]>
Sent: Friday, February 24, 2023 10:40 AM
To: [email protected]
Subject: Re: oauth configuration for airflow in k8s

You don't often get email from 
[email protected]<mailto:[email protected]>. Learn why this is 
important<https://aka.ms/LearnAboutSenderIdentification>

EXTERNAL
Don't worry about "reload" in k8s, just delete the pod and let another come up. 
Or if you bake it into the image like Daniel suggested, it'll be handled for 
you!

Otherwise, the helm chart also supports a string in your values file, or using 
a ConfigMap:
https://github.com/apache/airflow/blob/2cd12fc86950646d10dfb5fb7f9c76c529715b46/chart/values.yaml#L997-L1006<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Fairflow%2Fblob%2F2cd12fc86950646d10dfb5fb7f9c76c529715b46%2Fchart%2Fvalues.yaml%23L997-L1006&data=05%7C01%7CJohnW.Lewis%40sas.com%7C346b76e859b3433ba97908db167da513%7Cb1c14d5c362545b3a4309552373a0c2f%7C0%7C0%7C638128501141178157%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5J6qKCFLkWfGqXQcJ79vFeFTVluFkBkcr89jQW%2Fqe%2Fo%3D&reserved=0>

It sounds like you found the right spot in the Airflow core docs, but for 
completeness/others benefit:
https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/security/webserver.html#other-methods<https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fairflow.apache.org%2Fdocs%2Fapache-airflow%2Fstable%2Fadministration-and-deployment%2Fsecurity%2Fwebserver.html%23other-methods&data=05%7C01%7CJohnW.Lewis%40sas.com%7C346b76e859b3433ba97908db167da513%7Cb1c14d5c362545b3a4309552373a0c2f%7C0%7C0%7C638128501141178157%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=X0akEj8hm6ZXve7kd%2BF9Sxd0EnHC1UhlBBasQsi7LiA%3D&reserved=0>

Reply via email to