title: Airflow KubernexExecutor doens't spaw KubernetesPodOperator tasks and complete successfully
body: <p>I'm testing kubernetes pod operator running
  Airflow 2.2.1 with kubernetes cnf 2.1.0 on my minikube.</p>
  <p>I'm having issues trying to spaw a mock task:</p>
  <pre class="lang-py prettyprint-override"><code>      init_environments = [
          k8s.V1EnvVar(name='AIRFLOW__KUBERNETES__POD_TEMPLATE_FILE', value='&quot;&quot;'),
          k8s.V1EnvVar(name='KUBERNETES__POD_TEMPLATE_FILE', value='&quot;&quot;'),
          k8s.V1EnvVar(name='POD_TEMPLATE_FILE', value='&quot;&quot;')]
      other_task = KubernetesPodOperator(
          dag=dag,
          task_id=&quot;ingestion_kube&quot;,
          env_vars=init_environments,
          cmds=[&quot;bash&quot;, &quot;-cx&quot;],
          arguments=[&quot;echo 10 \n\n\n\n\n\n\n&quot;],
          name=&quot;base&quot;,
          image=&quot;meltano-flieber&quot;,
          image_pull_policy=&quot;IfNotExists&quot;,
          in_cluster=True,
          namespace=&quot;localkubeflow&quot;,
          is_delete_operator_pod=False,
          pod_template_file=None,
          get_logs=True
      )
  </code></pre>
  <p>The task pod from KubernetesExecutor that executes the airflow completes successfully but there is no sign of the pod operator task.</p>
  <p>Relevant logs of airflow task:</p>
  <pre><code>[2021-11-23 21:30:28,213] {dagbag.py:500} INFO - Filling up the DagBag from /opt/***/dags/meltano/meltano_ingest_pendo.py
  Running &lt;TaskInstance: meltano_tasks.ingestion_kube manual__2021-11-23T21:30:10.788963+00:00 [queued]&gt; on host meltanotasksingestionkube.996b19ee10464c2f8683cdfc8ce7303
  </code></pre>
  <p>And in airflow tha task looks like if failed but without any relevant logs, anybody have something related to that or has any suggestions?</p>