Skip to content

Commit ae6568b

Browse files
committed
Pin kubernetes below v36 to avoid breaking API changes
kubernetes v36 introduced two regressions that break local and staging operation: 1. ApiClient.__deserialize_model() now accesses self.configuration which is unset when constructed via ApiClient.__new__() (bypassing __init__). 2. _set_config() stores exec credentials under api_key['authorization'] but auth_settings() was changed to check api_key['BearerToken'], leaving all requests unauthenticated (system:anonymous).
1 parent ec83b54 commit ae6568b

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
@@ -9,7 +9,7 @@ dependencies = [
99
"bugsnag>=4.9.0,<5",
1010
"cloud-pipelines>=0.23.2.4",
1111
"fastapi[standard]>=0.115.12",
12-
"kubernetes>=33.1.0",
12+
"kubernetes>=33.1.0,<36",
1313
"opentelemetry-api>=1.41.1",
1414
"opentelemetry-exporter-otlp-proto-grpc>=1.41.1",
1515
"opentelemetry-exporter-otlp-proto-http>=1.39.1",

0 commit comments

Comments
 (0)