We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0db26e commit b436225Copy full SHA for b436225
src/codeflare_sdk/cluster/auth.py
@@ -22,6 +22,7 @@
22
import abc
23
from kubernetes import client, config
24
import os
25
+import urllib3
26
from ..utils.kube_api_helpers import _kube_api_error_handling
27
28
global api_client
@@ -112,6 +113,7 @@ def login(self) -> str:
112
113
api_client = client.ApiClient(configuration)
114
client.AuthenticationApi(api_client).get_api_group()
115
config_path = None
116
+ urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
117
return "Logged into %s" % self.server
118
except client.ApiException: # pragma: no cover
119
api_client = None
0 commit comments