A4ANK commented on issue #56343:
URL: https://github.com/apache/airflow/issues/56343#issuecomment-3420219710

   Hi @nathaliaceballoshurtado,
   
   The helm chart already supports mounting apiServerConfig in the api-server 
deployment template.
   Please find following links for your reference.
   
   
https://github.com/apache/airflow/blob/2e1422be30e54a02f5e9af9ce02f0bb686b2fb0f/chart/templates/api-server/api-server-deployment.yaml#L173
   
https://github.com/apache/airflow/blob/2e1422be30e54a02f5e9af9ce02f0bb686b2fb0f/chart/templates/api-server/api-server-deployment.yaml#L234
   
   For values.yaml please follow the syntax from the below link.
   
https://github.com/apache/airflow/blob/2e1422be30e54a02f5e9af9ce02f0bb686b2fb0f/chart/values.yaml#L1541
   ```
   ...
   apiServer:
     ...
     apiServerConfig: |
       from airflow import configuration as conf
       The SQLAlchemy connection string.
       SQLALCHEMY_DATABASE_URI = conf.get('database', 'SQL_ALCHEMY_CONN')
       Flask-WTF flag for CSRF
       CSRF_ENABLED = True
       ...
   ...
   ```
   
   Thanks,
   


-- 
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]

Reply via email to