<p dir="auto"><strong>Description</strong></p>
<p dir="auto">When using <code class="notranslate">KubernetesPodOperator</code> with the option <code class="notranslate">do_xcom_push=True</code>, I would also like to be able to change the image being used by the sidecar container that extracts the JSON file from the main container.</p>
<p dir="auto"><strong>Use case / motivation</strong></p>
<p dir="auto">I would like to have all images pulled from a private repository. Main reason being that I've seen rate limiting issues with Docker Hub, since the image being pulled for the sidecar container is <code class="notranslate">alpine:latest</code>. It would be helpful if I can set Airflow's behaviour to pull a mirror of this image from ECR.</p>
<h3 dir="auto">Description</h3>
<p dir="auto"><strong>Problem</strong></p>
<p dir="auto">It is not easy to rename dags.</p>
<p dir="auto"><strong>Suggestion</strong></p>
<p dir="auto">It would be better if dag can have both id and name. Id could be some guid/uuid. If not given then id can be generated. At least when required the id can be queried from the database. This way we can change the dag name without changing the id.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="DAG_ID = '76c9eb30-4f9c-4806-aad8-931c03679726'
DAG_NAME = 'test'

with DAG(dag_id=DAG_ID, dag_name=DAG_NAME, ...):
  # some tasks"><pre class="notranslate"><span class="pl-v">DAG_ID</span> <span class="pl-c1">=</span> <span class="pl-s">'76c9eb30-4f9c-4806-aad8-931c03679726'</span>
<span class="pl-v">DAG_NAME</span> <span class="pl-c1">=</span> <span class="pl-s">'test'</span>

<span class="pl-k">with</span> <span class="pl-v">DAG</span>(<span class="pl-s1">dag_id</span><span class="pl-c1">=</span><span class="pl-v">DAG_ID</span>, <span class="pl-s1">dag_name</span><span class="pl-c1">=</span><span class="pl-v">DAG_NAME</span>, ...):
  <span class="pl-c"># some tasks</span></pre></div>
<p dir="auto">If I want to rename the dag then I can simply change the name and I can still get the dag history and not running into the risk of backfilling the dag again.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="DAG_ID = '76c9eb30-4f9c-4806-aad8-931c03679726'
DAG_NAME = 'test_edited'

with DAG(dag_id=DAG_ID, dag_name=DAG_NAME, ...):
  # some tasks"><pre class="notranslate"><span class="pl-v">DAG_ID</span> <span class="pl-c1">=</span> <span class="pl-s">'76c9eb30-4f9c-4806-aad8-931c03679726'</span>
<span class="pl-v">DAG_NAME</span> <span class="pl-c1">=</span> <span class="pl-s">'test_edited'</span>

<span class="pl-k">with</span> <span class="pl-v">DAG</span>(<span class="pl-s1">dag_id</span><span class="pl-c1">=</span><span class="pl-v">DAG_ID</span>, <span class="pl-s1">dag_name</span><span class="pl-c1">=</span><span class="pl-v">DAG_NAME</span>, ...):
  <span class="pl-c"># some tasks</span></pre></div>
<h3 dir="auto">Use case/motivation</h3>
<p dir="auto">So that dag can be easily renamed.</p>
<h3 dir="auto">Related issues</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Are you willing to submit a PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>