mabrikan commented on issue #26971:
URL: https://github.com/apache/airflow/issues/26971#issuecomment-1275115614

   Tested #26423 in the RC. Working as expected.
   
   Default value for `imagePullPolicy` in `pod_template.yaml` 
   ```bash
   $ helm list
   NAME         NAMESPACE       REVISION        UPDATED                         
        STATUS          CHART           APP VERSION
   airflow      airflow         1               2022-10-11 20:34:39.015555852 
+0300 +03 deployed        airflow-1.7.0   2.4.1      
   $ kubectl get cm airflow-airflow-config -oyaml | yq e 
'.data."pod_template_file.yaml"' - | yq e '.spec.containers[0].imagePullPolicy'
   IfNotPresent
   ```
   
   Changing it to `Always`
   ```
   $ helm upgrade airflow --reuse-values 
--set=images.pod_template.pullPolicy=Always .
   $ kubectl get cm airflow-airflow-config -oyaml | yq e 
'.data."pod_template_file.yaml"' - | yq e '.spec.containers[0].imagePullPolicy'
   Always
   ```
   


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