Avoid duplicating DagProperies variables when deploying the scheduler to k8s
When the airflow-dags
repo is pulled via git-sync
, we end up with an
extra airlow_dags/
prefix in the path compared to the an-airflow100x
hosts, which causes DagProperties
to generate new values in database
with this extra prefix.
To maintain full backwards compatibility, we drop that extra prefix.
Signed-off-by: Balthazar Rouberol brouberol@wikimedia.org