Skip to content

Commit d1a80b0

Browse files
committed
Pin kubernetes!=36.0.0 due to broken bearer-token auth
kubernetes v36.0.0 has a regression where auth_settings() no longer recognizes the 'authorization' key in api_key, silently dropping the Authorization header from all API requests. The upstream fix (PR #2585) is merged but not yet released. Exclude 36.0.0 until a patched v36.x ships. Ref: kubernetes-client/python#2582
1 parent 75dc209 commit d1a80b0

2 files changed

Lines changed: 1400 additions & 684 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ dependencies = [
6767
"colorlog>=6.8.2",
6868
"deepdiff>=8.0.1",
6969
"jinja2>=3.1.4",
70-
"kubernetes>=31.0.0",
70+
"kubernetes>=31.0.0,!=36.0.0", # Excluded: v36.0.0 has broken bearer-token auth (https://github.com/kubernetes-client/python/issues/2582), remove once v36.0.1+ ships with the fix
7171
"packaging>=24.1",
7272
"pyhelper-utils>=0.0.42",
7373
"python-benedict>=0.33.2",

0 commit comments

Comments
 (0)