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 2022/06/27 03:25:31 UTC

[GitHub] [airflow] jedcunningham commented on a diff in pull request #24658: Add `airflow_kpo_in_cluster` label to KPO pods

jedcunningham commented on code in PR #24658:
URL: https://github.com/apache/airflow/pull/24658#discussion_r906941092


##########
airflow/providers/cncf/kubernetes/hooks/kubernetes.py:
##########
@@ -127,6 +127,9 @@ def __init__(
         self.disable_verify_ssl = disable_verify_ssl
         self.disable_tcp_keepalive = disable_tcp_keepalive
 
+        # Expose whether the hook is configured to use incluster_config or not
+        self.is_in_cluster: Optional[bool] = None

Review Comment:
   That's a good idea, 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