8000 client by sunilchalla580 · Pull Request #1 · Arvinhub/client-python · GitHub
[go: up one dir, main page]

Skip to content

client - #1

Open
sunilchalla580 wants to merge 2380 commits into
Arvinhub:masterfrom
kubernetes-client:master
Open

sunilchalla580 wants to merge 2380 commits into
Arvinhub:masterfrom
kubernetes-client:master

Conversation

@sunilchalla580
Copy link
Copy Markdown

kubernetes

dependabot Bot and others added 30 commits May 27, 2026 04:15
Updates the requirements on [coverage](https://github.com/coveragepy/coveragepy) to permit the latest version.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@coverage-4.0.3...7.14.1)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.14.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
updated CHANGELOG and README
Prior to v36.0.0 the generated client stored the bearer token under
api_key['authorization']. v36.0.0 switched the lookup to
api_key['BearerToken'] without a fallback, which silently dropped the
Authorization header from every outgoing request when callers (or the
load_kube_config path in v36.0.0) still wrote the token under
'authorization'. The result was 401 Unauthorized against every cluster
that relied on bearer-token auth, observable on both REST calls and
WebSocket exec.

Restore the legacy lookup as a fallback in auth_settings(): if
'BearerToken' is absent but 'authorization' is set, route the lookup
through get_api_key_with_prefix(..., alias='authorization') so the
existing 'authorization' key is honored. 'BearerToken' continues to
take precedence when both are set, so the new behavior is unchanged
for new code.

Applies symmetrically to kubernetes.client.configuration and
kubernetes.aio.client.configuration.

Related issue: #2595

Signed-off-by: Gaurav Galiyawala <galiyawalagaurav@gmail.com>
…allback

Restore bearer-token fallback in Configuration.auth_settings()
apply hotfix for bearer-token fallback in Configuration.auth_settings
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@e79a696...fb8b358)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 7.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@de0fac2...9c091bb)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
The generated client now emits parameter names and types on separate
lines. Watch still searches for the old combined line, so it sends
watch=True to pod log methods and the generated client rejects the
unexpected keyword.

Match the current generated format and update the fixture that covers
log streaming.
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@a309ff8...ece7cb0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…ions/actions/setup-python-6.3.0

Bump actions/setup-python from 6.2.0 to 6.3.0
…ions/actions/checkout-7.0.0

Bump actions/checkout from 6.0.2 to 7.0.0
PR 2604 restored the api_key['authorization'] fallback in auth_settings()
by calling get_api_key_with_prefix('BearerToken', alias='authorization'),
but get_api_key_with_prefix only applied `alias` to the api_key lookup, not
the api_key_prefix lookup. Callers that set the prefix under the legacy
'authorization' key (rather than embedding "Bearer " directly in the token)
get a bearer token with no "Bearer " prefix, which most API servers (and
GKE's anonymous-auth fallback) don't recognize as a valid Authorization
header -> system:anonymous.

Apply the same alias fallback to the prefix lookup, symmetrically in the
sync (kubernetes/client/configuration.py) and async
(kubernetes/aio/client/configuration.py) variants, matching the pattern
PR 2604 already established for the key lookup.

See #2592

Signed-off-by: HaimLC <110099998+HaimLC@users.noreply.github.com>
Signed-off-by: Artem Muterko <artem@sopho.tech>
Signed-off-by: Artem Muterko <artem@sopho.tech>
Signed-off-by: Artem Muterko <artem@sopho.tech>
…ions/codecov/codecov-action-7.0.0

Bump codecov/codecov-action from 6.0.1 to 7.0.0
…-thread

Fix leader election worker thread not running as daemon
…imeout

Fix readline_channel crash and None return on default timeout
…ge-gte-7.14.1

Update coverage requirement from >=4.0.3 to >=7.14.1
Signed-off-by: Artem Muterko <artem@sopho.tech>
…ical-output

Fix format_quantity precision and emit canonical decimal output
Updates the requirements on [coverage](https://github.com/coveragepy/coveragepy) to permit the latest version.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.14.1...7.15.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
pull the new commits from master to the new branch.
Mirror the sync test_auth_settings_with_authorization_key_and_prefix
added in this PR, covering the same path in the async variant of
get_api_key_with_prefix() via auth_settings().

Also fixes InClusterConfigTest base class from unittest.TestCase to
IsolatedAsyncioTestCase so the existing async test_refresh_token
actually runs.

Signed-off-by: HaimLC <110099998+HaimLC@users.noreply.github.com>
Fix regressions in Configuration.get_api_key_with_prefix bearer-token prefix lookup
cut the new branch from release branch, then rebase upstream/master to pull the new commits from master to the new branch.
kubernetes-prow Bot and others added 30 commits October 14, 2026 16:05
…p-gte-3.14.5-and-lt-4.0.0

Update aiohttp requirement from <4.0.0,>=3.14.4 to >=3.14.5,<4.0.0
…ord-colon

Fix websocket proxy auth truncating passwords that contain a colon
Updates the requirements on [pydantic](https://github.com/pydantic/pydantic) to permit the latest version.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.14.0...v2.14.1)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-version: 2.14.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ic-gte-2.14.1

Update pydantic requirement from >=2.14.0 to >=2.14.1
Dependabot raised certifi from >=14.05.14 to >=2026.7.22, which makes
the client impossible to install next to an application that pins an
older certifi. The client only calls certifi.where(), which every
release provides.

Lower the bound to 2024.7.4, the oldest release without a known
advisory (CVE-2024-39689), and set versioning-strategy to widen for pip
so Dependabot keeps the ranges of this library open instead of raising
the lower bound on every new release.
The tests referenced socket.TCP_KEEPIDLE, which macOS does not define (it
uses TCP_KEEPALIVE; keepalive.py already handles this), and expected
SO_KEEPALIVE to read back as exactly 1, but macOS returns a non-zero flag.
test(utils): make keepalive tests pass on macOS
parse_quantity and format_quantity only rejected 'ki' among the binary
suffixes, so 'mi', 'ni' and 'ui' were accepted as base-1024 negative
exponents (e.g. parse_quantity('1mi') == 1/1024). Binary suffixes are limited
to Ki, Mi, Gi, Ti, Pi and Ei.
Relax the certifi lower bound and stop Dependabot raising lower bounds
…nary-suffixes

fix(utils): reject mi, ni and ui as quantity suffixes
Updates the requirements on [pluggy](https://github.com/pytest-dev/pluggy) to permit the latest version.
- [Changelog](https://github.com/pytest-dev/pluggy/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pluggy@1.6.0...1.7.0)

---
updated-dependencies:
- dependency-name: pluggy
  dependency-version: 1.7.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…-gte-1.7.0

Update pluggy requirement from >=1.6.0 to >=1.7.0
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v84.0.0...v84.2.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 84.2.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ools-gte-84.2.0

Update setuptools requirement from >=84.0.0 to >=84.2.0
Updates the requirements on [python-dateutil](https://github.com/dateutil/dateutil) to permit the latest version.
- [Release notes](https://github.com/dateutil/dateutil/releases)
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS)
- [Commits](dateutil/dateutil@2.8.2...3.0.0)

---
updated-dependencies:
- dependency-name: python-dateutil
  dependency-version: 3.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v84.2.0...v84.2.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 84.2.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@5fda3b9...6d4fd22)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…ools-gte-84.2.1

Update setuptools requirement from >=84.2.0 to >=84.2.1
…-dateutil-gte-3.0.0

Update python-dateutil requirement from >=2.8.2 to >=3.0.0
…ions/actions/setup-python-7.1.0

Bump actions/setup-python from 7.0.0 to 7.1.0
updated html docs for 1.37 release
Updates the requirements on [pydantic](https://github.com/pydantic/pydantic) to permit the latest version.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/v2.14.2/HISTORY.md)
- [Commits](pydantic/pydantic@v2.14.1...v2.14.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-version: 2.14.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ic-gte-2.14.2

Update pydantic requirement from >=2.14.1 to >=2.14.2
Updates the requirements on [oauthlib](https://github.com/oauthlib/oauthlib) to permit the latest version.
- [Release notes](https://github.com/oauthlib/oauthlib/releases)
- [Changelog](https://github.com/oauthlib/oauthlib/blob/v4.0.1/CHANGELOG.rst)
- [Commits](oauthlib/oauthlib@v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: oauthlib
  dependency-version: 4.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ib-gte-4.0.1

Update oauthlib requirement from >=4.0.0 to >=4.0.1
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.15.1 to 1.15.2.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](helm/kind-action@1544676...ea822c7)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-version: 1.15.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ions/helm/kind-action-1.15.2

Bump helm/kind-action from 1.15.1 to 1.15.2
Updates the requirements on [pydantic](https://github.com/pydantic/pydantic) to permit the latest version.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.14.2...v2.14.3)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-version: 2.14.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…ic-gte-2.14.3

Update pydantic requirement from >=2.14.2 to >=2.14.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0