jedcunningham commented on a change in pull request #21905:
URL: https://github.com/apache/airflow/pull/21905#discussion_r817015019



##########
File path: airflow/kubernetes/pod_generator_deprecated.py
##########
@@ -178,6 +178,11 @@ def __init__(
 
         self.container.command = cmds or []
         self.container.args = args or []
+        if not image_pull_policy:
+            if image and image.endswith("latest"):

Review comment:
       This probably also needs to handle images without tags (e.g. `debian`). 
Maybe:
   
   ```suggestion
               if image and (image.endswith("latest") or ":" in image):
   ```




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