From 6b4cb7f78afab17b03de9ee992de3d79d645e83b Mon Sep 17 00:00:00 2001 From: "shenjian@fangjia.com" Date: Mon, 29 May 2023 15:26:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=95=9C=E5=83=8F=E6=8B=89?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dags/business/dag_comm_add.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dags/business/dag_comm_add.py b/dags/business/dag_comm_add.py index 19485e7..83402d1 100644 --- a/dags/business/dag_comm_add.py +++ b/dags/business/dag_comm_add.py @@ -27,6 +27,7 @@ with DAG( production_task = KubernetesPodOperator(namespace='airflow-plus', # image="my-production-job:release-1.0.1", <-- old release image="192.168.0.19:9012/comm-add:1.0.1", + image_pull_policy="always", image_pull_secrets=[k8s.V1LocalObjectReference("nexus-registry-secret")], cmds=["python", "main.py"], arguments=["--city", '{{dag_run.conf["city"] if "city" in dag_run.conf else "all"}}'],