Skip to content

Commit 8c9494e

Browse files
committed
adding proxy headers settings for proxy_manager
1 parent fcda6fe commit 8c9494e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

kubernetes/client/configuration.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ def __init__(self):
101101

102102
# Proxy URL
103103
self.proxy = None
104+
# Proxy Headers
105+
self.proxy_headers = None
104106
# Safe chars for path_param
105107
self.safe_chars_for_path_param = ''
106108

kubernetes/client/rest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def __init__(self, configuration, pools_size=4, maxsize=None):
9696
cert_file=configuration.cert_file,
9797
key_file=configuration.key_file,
9898
proxy_url=configuration.proxy,
99+
proxy_headers=configuration.proxy_headers,
99100
**addition_pool_args
100101
)
101102
else:

0 commit comments

Comments
 (0)