Skip to content

Commit 16a5716

Browse files
authored
oidc provider behind proxy
This fix allows client to communicate with OIDC provider which located out or company perimeter and requires to use proxy server
1 parent 7a278c7 commit 16a5716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: kubernetes/base/config/kube_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def _load_oid_token(self, provider):
420420
return self.token
421421

422422
def _refresh_oidc(self, provider):
423-
config = Configuration()
423+
config = Configuration().get_default_copy()
424424

425425
if 'idp-certificate-authority-data' in provider['config']:
426426
ca_cert = tempfile.NamedTemporaryFile(delete=True)

0 commit comments

Comments
 (0)