Junnplus commented on a change in pull request #13516:
URL: https://github.com/apache/airflow/pull/13516#discussion_r555438133
##########
File path: airflow/kubernetes/kube_client.py
##########
@@ -123,5 +128,8 @@ def get_kube_client(
if conf.getboolean('kubernetes', 'enable_tcp_keepalive', fallback=False):
_enable_tcp_keepalive()
+ if not conf.getboolean('kubernetes', 'verify_ssl', fallback=True):
+ _disable_verify_ssl()
+
client_conf = _get_kube_config(in_cluster, cluster_context, config_file)
return _get_client_with_patched_configuration(client_conf)
Review comment:
@mik-laj this way seems is invalid for incluster mode
----------------------------------------------------------------
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]