potiuk commented on PR #28848:
URL: https://github.com/apache/airflow/pull/28848#issuecomment-1379342737

   > i think quite likely:
   > 
   > 
https://github.com/apache/airflow/blob/6d09fc7b88623919b01cfbdee5566598cefba021/airflow/utils/db.py#L364-L370
   
   Let me modify it **slightly**. Why don't we fall-back to `get_kube_client` 
when either the connection is not defined or when it is not **configured** (i.e 
no extras defined). I believe the only used connection fields are "extras" and 
it would require an effort to edit the connection to add any extra there - the 
default one will have no extras at all and we can easily detect it. A bit long 
shot, but maybe it is the most sensible thing to do? (just wild thought)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to