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"}}'],