Bagautdino opened a new pull request, #38841:
URL: https://github.com/apache/airflow/pull/38841

   ### Enhance Secret Name Selection Based on `gitSync` Image Version
   
   This pull request introduces a conditional logic enhancement within the Helm 
chart templates to dynamically select the appropriate secret name based on the 
`gitSync` image version. Specifically, the addition targets scenarios where the 
`gitSync` image version is `v4.0.0` or newer. This is achieved through the Helm 
condition:
   
   ```yaml
   {{- else if and .Values.dags.gitSync.credentialsSecret (semverCompare 
">=v4.0.0" .Values.images.gitSync.tag)}}
   ```
   
   The modification ensures that the deployment utilizes the correct 
credentials for `gitSync`, enhancing compatibility and security for different 
version requirements. This change is particularly important for environments 
with strict versioning and authentication mechanisms, ensuring smoother 
upgrades and maintenance.
   
   The update aligns with the Apache License, Version 2.0, and adheres to ASF's 
contribution guidelines. Comprehensive testing has been conducted to ensure no 
regressions in functionality. This contribution is a step towards more flexible 
and secure Helm chart configurations for the Apache Airflow community.
   


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