Skip to content

Commit 85a0c21

Browse files
author
Prasanna Santhanam
committed
fixes #26: disable InsecureRequestWarning from urllib3
(cherry picked from commit 3f3a216)
1 parent f400ee8 commit 85a0c21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kubeshell/client.py

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# disable warnings on stdout/stderr from urllib3 connection errors
99
ulogger = logging.getLogger("urllib3")
1010
ulogger.setLevel("ERROR")
11+
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
1112

1213

1314
class KubernetesClient(object):

0 commit comments

Comments
 (0)