diff --git a/pykube/http.py b/pykube/http.py index 517a2db..4cce6ba 100644 --- a/pykube/http.py +++ b/pykube/http.py @@ -211,6 +211,7 @@ def __init__( config: KubeConfig, timeout: float = DEFAULT_HTTP_TIMEOUT, dry_run: bool = False, + verify: bool = True, http_adapter: Optional[requests.adapters.HTTPAdapter] = None, ): """ @@ -231,6 +232,7 @@ def __init__( session.mount("https://", http_adapter) session.mount("http://", http_adapter) self.session = session + self.session.verify = verify @property def url(self):