supporting proxy authentication for websocket client(stream/ws_client.py) #255
Description
related to ansible-collections/kubernetes.core#246,
current kubernets-client/python-base and kubernetes-client/python support proxy authentication just for REST but NOT websocket.
This issue is caused by below line in python-base. It has no 'http_proxy_auth=xxx' .
python-base/stream/ws_client.py
Line 450 in b0afc93
In REST case, kubernets-client/python cares proxy authentication by 'proxy_headers' in following code:
where, configuration.proxy_headers are set by caller, like below code:
https://github.com/ansible-collections/kubernetes.core/blob/c65512357dd90b477dec683999128e0308a96f88/plugins/module_utils/common.py#L202-L204
and
https://github.com/ansible-collections/kubernetes.core/blob/c65512357dd90b477dec683999128e0308a96f88/plugins/module_utils/common.py#L139