You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2023/01/11 08:37:58 UTC

[GitHub] [airflow] lwyszomi commented on a diff in pull request #28848: Use default connection id for KubernetesPodOperator

lwyszomi commented on code in PR #28848:
URL: https://github.com/apache/airflow/pull/28848#discussion_r1066708862


##########
airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py:
##########
@@ -229,7 +229,7 @@ class KubernetesPodOperator(BaseOperator):
     def __init__(
         self,
         *,
-        kubernetes_conn_id: str | None = None,  # 'kubernetes_default',
+        kubernetes_conn_id: str = "kubernetes_default",

Review Comment:
   @uranusjr I changed and now we using `KubernetesHook.default_conn_name`, thanks



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org