gbonazzoli opened a new issue, #30137:
URL: https://github.com/apache/airflow/issues/30137

   ### Apache Airflow version
   
   2.5.2
   
   ### What happened
   
   Everything works fine, but there are the following warning:
   
   ```
   airflow@airflow-crm-worker-0:/opt/airflow$ airflow version
   
/home/airflow/.local/lib/python3.10/site-packages/airflow/configuration.py:384 
FutureWarning: The auth_backends setting in [api] has had 
airflow.api.auth.backend.session added in the running config, which is needed 
by the UI. Please update your config before Apache Airflow 3.0.
   
/home/airflow/.local/lib/python3.10/site-packages/airflow/cli/cli_parser.py:905 
DeprecationWarning: The namespace option in [kubernetes] has been moved to the 
namespace option in [kubernetes_executor] - the old setting has been used, but 
please update your config.
   2.5.2
   ```
   `
   
   ### What you think should happen instead
   
   I think that the "api" section of airflow.cfg should have a placement in the 
values.yaml of the helm chart.
   
   Also email configuration should be treated within values.yaml
   
   ### How to reproduce
   
   Install the helm chart and provide the API configuration through variables:
   
   I use the following kubernetes secret:
   
   ```
   apiVersion: v1
   kind: ConfigMap
   metadata:
     name: airflow-crm-variables
   data:
     # property-like keys; each key maps to a simple value
     AIRFLOW__API__AUTH_BACKENDS: "airflow.api.auth.backend.basic_auth"
     AIRFLOW__WEBSERVER__BASE_URL: "https://172.16.5.202:8080";
     AIRFLOW__WEBSERVER__DEFAULT_UI_TIMEZONE: "Europe/Rome"
   ```
   
   ### Operating System
   
   Image: apache/airflow:2.5.2-python3.10
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   Kubernetes Cluster:
   
   ```
   NAME          STATUS   ROLES           AGE   VERSION   INTERNAL-IP    
EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
   kube-master   Ready    control-plane   70d   v1.26.0   172.16.5.1     <none> 
       Ubuntu 20.04.5 LTS   5.15.0-67-generic   containerd://1.7.0
   kube-node01   Ready    <none>          70d   v1.26.0   172.16.5.107   <none> 
       Ubuntu 20.04.5 LTS   5.15.0-67-generic   containerd://1.7.0
   kube-node02   Ready    <none>          70d   v1.26.0   172.16.5.90    <none> 
       Ubuntu 20.04.5 LTS   5.15.0-67-generic   containerd://1.7.0
   kube-node03   Ready    <none>          70d   v1.26.0   172.16.5.179   <none> 
       Ubuntu 20.04.5 LTS   5.15.0-67-generic   containerd://1.7.0
   ```
   
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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