Skip to content

Commit 01a2584

Browse files
committed
Pin kubernetes<36 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. Pin to <36 until a patched v36.x ships. Ref: kubernetes-client/python#2582
1 parent 5010f8a commit 01a2584

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ dependencies = [
9090
"deepdiff>=8.0.1",
9191
"jinja2>=3.1.4",
9292
"jsonschema>=4.20.0",
93-
"kubernetes>=31.0.0",
93+
"kubernetes>=31.0.0,<36", # Upper bound: 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
9494
"packaging>=24.1",
9595
"pyhelper-utils>=0.0.42",
9696
"python-benedict>=0.33.2",

0 commit comments

Comments
 (0)