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

   ### Official Helm Chart version
   
   1.18.0 (latest released)
   
   ### Apache Airflow version
   
   3.1.6
   
   ### Kubernetes Version
   
   1.35
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   not relevant
   
   ### What happened
   
   `apiServer` `extraInitContainers` are documented as templated: 
https://github.com/apache/airflow/blob/c93cb32db735eb7c16c2ebce044a5795ff9c5ed7/chart/values.yaml#L1715-L1716
   
   but the code itself does not use templating:
   
   
https://github.com/apache/airflow/blob/c93cb32db735eb7c16c2ebce044a5795ff9c5ed7/chart/templates/api-server/api-server-deployment.yaml#L154
   
   ### What you think should happen instead
   
   `tpl` should be used as in other containers
   
   ### How to reproduce
   
   values.yaml
   
   ```yaml
   airflow:
     apiServer:
       extraInitContainers:
         - name: custom-init-container
           image: alpine:latest
           command:
             - sh
             - -c
             - echo {{ "foobar" }}
   ```
   
   ```
   ❯ helm template airflow-init-test . | grep custom-init-container -B5
           - command:
             - sh
             - -c
             - echo {{ "foobar" }}
             image: alpine:latest
             name: custom-init-container
   ```
   
   ### Anything else
   
   it works fine if used in `triggerer`/...
   
   ### Are you willing to submit PR?
   
   - [x] 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