Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Merge f7489e2 into 8cfc074
Browse files Browse the repository at this point in the history
  • Loading branch information
zoidyzoidzoid committed Nov 4, 2019
2 parents 8cfc074 + f7489e2 commit 114a034
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pykube/http.py
Expand Up @@ -161,7 +161,7 @@ class HTTPClient:
Client for interfacing with the Kubernetes API.
"""

def __init__(self, config: KubeConfig, timeout: float = DEFAULT_HTTP_TIMEOUT, dry_run: bool = False):
def __init__(self, config: KubeConfig, timeout: float = DEFAULT_HTTP_TIMEOUT, dry_run: bool = False, verify=True):
"""
Creates a new instance of the HTTPClient.
Expand All @@ -178,6 +178,7 @@ def __init__(self, config: KubeConfig, timeout: float = DEFAULT_HTTP_TIMEOUT, dr
session.mount("https://", KubernetesHTTPAdapter(self.config))
session.mount("http://", KubernetesHTTPAdapter(self.config))
self.session = session
self.session.verify = verify

@property
def url(self):
Expand Down

0 comments on commit 114a034

Please sign in to comment.