kubernetes-client/python

Proxy SSL Context

Open

#2 387 ouverte le 15 avr. 2025

Voir sur GitHub
 (3 commentaires) (0 réactions) (1 assigné)Python (3 323 forks)batch import
help wantedkind/feature

Métriques du dépôt

Stars
 (6 225 stars)
Métriques de merge PR
 (Merge moyen 10j 3h) (2 PRs mergées en 30 j)

Description

What is the feature and why do you need it:

Ability to provide proxy SSL context when creating Configurtion object.

This would be useful in order to configure the TLS connection made to a proxy server, separate from the TLS connection made to the Kubernetes cluster.

This behavior, provided by urllib3, is described here: https://urllib3.readthedocs.io/en/stable/advanced-usage.html#http-and-https-proxies

Please see: HTTPS Proxy + HTTPS Destination

Describe the solution you'd like to see:

Ability to provide proxy SSL context when creating Configurtion object.

https://github.com/kubernetes-client/python/blob/master/kubernetes/client/rest.py#L99

Thanks in advance!

Guide contributeur