Skip to content

Commit 1f9d3b0

Browse files
authored
Merge pull request #2011 from yliaog/automated-release-of-26.1.0-upstream-release-26.0-1676440996
Automated release of 26.1.0 upstream release 26.0 1676440996
2 parents b37946f + 332e1fb commit 1f9d3b0

15 files changed

+83
-15
lines changed
+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: End to End Tests - release-26.0
2+
3+
on:
4+
push:
5+
branches:
6+
- release-26.0
7+
pull_request:
8+
branches:
9+
- release-26.0
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
python-version: [3.7, 3.8, 3.9]
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
submodules: true
21+
- name: Create Kind Cluster
22+
uses: helm/[email protected]
23+
with:
24+
cluster_name: kubernetes-python-e2e-release-26.0-${{ matrix.python-version }}
25+
# The kind version to be used to spin the cluster up
26+
# this needs to be updated whenever a new Kind version is released
27+
version: v0.17.0
28+
# Update the config here whenever a new client snapshot is performed
29+
# This would eventually point to cluster with the latest Kubernetes version
30+
# as we sync with Kubernetes upstream
31+
config: .github/workflows/kind-configs/cluster-1.26.yaml
32+
- name: Set up Python ${{ matrix.python-version }}
33+
uses: actions/setup-python@v4
34+
with:
35+
python-version: ${{ matrix.python-version }}
36+
- name: Install dependencies
37+
run: |
38+
python -m pip install --upgrade pip
39+
python -m pip install -r requirements.txt
40+
python -m pip install -r test-requirements.txt
41+
- name: Install package
42+
run: python -m pip install -e .
43+
- name: Run End to End tests
44+
run: pytest -vvv -s kubernetes/e2e_test
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
kind: Cluster
2+
apiVersion: kind.x-k8s.io/v1alpha4
3+
nodes:
4+
- role: control-plane
5+
image: kindest/node:v1.26.0@sha256:3264cbae4b80c241743d12644b2506fff13dce07fcadf29079c1d06a47b399dd
6+
- role: worker
7+
image: kindest/node:v1.26.0@sha256:3264cbae4b80c241743d12644b2506fff13dce07fcadf29079c1d06a47b399dd

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.7", "3.8", "3.10"]
10+
python-version: ["3.7", "3.8", "3.10", "3.11"]
1111
include:
1212
- python-version: "3.9"
1313
use_coverage: 'coverage'

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# v26.1.0
2+
3+
Kubernetes API Version: v1.26.1
4+
5+
### Bug or Regression
6+
- The timeout unit of the WSClient update method is now always seconds for both poll and select functions. (#1976, @t-yrka)
7+
8+
### Feature
9+
- Adds support for loading CA certificates from a file using the `idp-certificate-authority` key for the oidc plugin. (#1916, @vgupta3)
10+
111
# v26.1.0b1
212

313
Kubernetes API Version: v1.26.1

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ supported versions of Kubernetes clusters.
9595
- [client 23.y.z](https://pypi.org/project/kubernetes/23.6.0/): Kubernetes 1.22 or below (+-), Kubernetes 1.23 (✓), Kubernetes 1.24 or above (+-)
9696
- [client 24.y.z](https://pypi.org/project/kubernetes/24.2.0/): Kubernetes 1.23 or below (+-), Kubernetes 1.24 (✓), Kubernetes 1.25 or above (+-)
9797
- [client 25.y.z](https://pypi.org/project/kubernetes/25.3.0/): Kubernetes 1.24 or below (+-), Kubernetes 1.25 (✓), Kubernetes 1.26 or above (+-)
98-
- [client 26.y.z](https://pypi.org/project/kubernetes/26.1.0b1/): Kubernetes 1.25 or below (+-), Kubernetes 1.26 (✓), Kubernetes 1.27 or above (+-)
98+
- [client 26.y.z](https://pypi.org/project/kubernetes/26.1.0/): Kubernetes 1.25 or below (+-), Kubernetes 1.26 (✓), Kubernetes 1.27 or above (+-)
9999

100100
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.
101101
@@ -150,7 +150,8 @@ between client-python versions.
150150
| 24.0 | Kubernetes main repo, 1.24 branch ||
151151
| 25.0 Alpha/Beta | Kubernetes main repo, 1.25 branch ||
152152
| 25.0 | Kubernetes main repo, 1.25 branch ||
153-
| 26.0 Alpha/Beta | Kubernetes main repo, 1.26 branch ||
153+
| 26.0 Alpha/Beta | Kubernetes main repo, 1.26 branch ||
154+
26.0 | Kubernetes main repo, 1.26 branch | ✓ |
154155

155156
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.
156157
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ca8e42406994951820c2307a6f2ee6d6f4a846b5b46a6f4ebe5e28678d03d160
1+
cee34aa4c662a6d749a5d924b37bf5e15218ca9ab8dbca9f629d51018fb9ba84

kubernetes/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: release-1.26
7-
- Package version: 26.1.0b1
7+
- Package version: 26.1.0
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

kubernetes/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
__project__ = 'kubernetes'
1616
# The version is auto-updated. Please do not edit.
17-
__version__ = "26.1.0b1"
17+
__version__ = "26.1.0"
1818

1919
from . import client
2020
from . import config

kubernetes/client/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "26.1.0b1"
17+
__version__ = "26.1.0"
1818

1919
# import apis into sdk package
2020
from kubernetes.client.api.well_known_api import WellKnownApi

kubernetes/client/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7878
self.default_headers[header_name] = header_value
7979
self.cookie = cookie
8080
# Set default User-Agent.
81-
self.user_agent = 'OpenAPI-Generator/26.1.0b1/python'
81+
self.user_agent = 'OpenAPI-Generator/26.1.0/python'
8282
self.client_side_validation = configuration.client_side_validation
8383

8484
def __enter__(self):

kubernetes/client/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def to_debug_report(self):
350350
"OS: {env}\n"\
351351
"Python Version: {pyversion}\n"\
352352
"Version of the API: release-1.26\n"\
353-
"SDK Package Version: 26.1.0b1".\
353+
"SDK Package Version: 26.1.0".\
354354
format(env=sys.platform, pyversion=sys.version)
355355

356356
def get_host_settings(self):

kubernetes/swagger.json.unprocessed

+4-1
Original file line numberDiff line numberDiff line change
@@ -13136,7 +13136,10 @@
1313613136
"$ref": "#/definitions/io.k8s.api.resource.v1alpha1.ResourceClaimConsumerReference"
1313713137
},
1313813138
"type": "array",
13139-
"x-kubernetes-list-type": "set"
13139+
"x-kubernetes-list-map-keys": [
13140+
"uid"
13141+
],
13142+
"x-kubernetes-list-type": "map"
1314013143
}
1314113144
},
1314213145
"type": "object"

scripts/constants.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
KUBERNETES_BRANCH = "release-1.26"
1919

2020
# client version for packaging and releasing.
21-
CLIENT_VERSION = "26.1.0b1"
21+
CLIENT_VERSION = "26.1.0"
2222

2323
# Name of the release package
2424
PACKAGE_NAME = "kubernetes"
2525

2626
# Stage of development, mainly used in setup.py's classifiers.
27-
DEVELOPMENT_STATUS = "4 - Beta"
27+
DEVELOPMENT_STATUS = "5 - Production/Stable"
2828

2929

3030
# If called directly, return the constant value given

scripts/swagger.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -13208,7 +13208,10 @@
1320813208
"$ref": "#/definitions/v1alpha1.ResourceClaimConsumerReference"
1320913209
},
1321013210
"type": "array",
13211-
"x-kubernetes-list-type": "set"
13211+
"x-kubernetes-list-map-keys": [
13212+
"uid"
13213+
],
13214+
"x-kubernetes-list-type": "map"
1321213215
}
1321313216
},
1321413217
"type": "object"

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
# Do not edit these constants. They will be updated automatically
1818
# by scripts/update-client.sh.
19-
CLIENT_VERSION = "26.1.0b1"
19+
CLIENT_VERSION = "26.1.0"
2020
PACKAGE_NAME = "kubernetes"
21-
DEVELOPMENT_STATUS = "4 - Beta"
21+
DEVELOPMENT_STATUS = "5 - Production/Stable"
2222

2323
# To install the library, run the following
2424
#

0 commit comments

Comments
 (0)