From 89e581446811127508c2a4035e07af77df193468 Mon Sep 17 00:00:00 2001 From: "shenjian@fangjia.com" Date: Mon, 29 May 2023 15:28:47 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/business/dag_comm_add.py b/dags/business/dag_comm_add.py index 83402d1..040bb2f 100644 --- a/dags/business/dag_comm_add.py +++ b/dags/business/dag_comm_add.py @@ -27,7 +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_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"}}'],