kunaljubce commented on code in PR #67896:
URL: https://github.com/apache/airflow/pull/67896#discussion_r3418338639
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/pod_generator.py:
##########
@@ -199,6 +199,13 @@ def from_obj(obj) -> dict | k8s.V1Pod | None:
if not k8s_object and not k8s_legacy_object:
return None
+ if not k8s_object and k8s_legacy_object:
+ raise AirflowConfigException(
+ "Using KubernetesExecutor dict inside an executor_config
object"
+ "is now deprecated. Please switch to pod_override"
+ "kubernetes.client.models.V1Pod object."
+ )
Review Comment:
Changed this to "no longer supported"
--
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]