turbaszek commented on a change in pull request #10453:
URL: https://github.com/apache/airflow/pull/10453#discussion_r485050319
##########
File path: airflow/providers/cncf/kubernetes/hooks/kubernetes.py
##########
@@ -36,32 +36,64 @@ class KubernetesHook(BaseHook):
"""
Creates Kubernetes API connection.
+ - use in cluster configuration by using ``extra__kubernetes__in_cluster``
in connection
+ - use custom config by providing path to the file using
``extra__kubernetes__kube_config_path``
+ - use custom configuration by providing content of kubeconfig file via
+ ``extra__kubernetes__kube_config`` in connection
+ - use default config by providing no extras
+
+ This hook check for configuration option in the above order. Once an
option is present it will
Review comment:
```suggestion
This hook checks for configuration options in the above order. Once an
option is present it will
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]