Skip to content

Commit 3d84f06

Browse files
authored
update swagger gen from 1.28.0 (#1373)
* update swagger gen from 1.28.0 * update version matrix
1 parent 64c446a commit 3d84f06

File tree

4 files changed

+2807
-489
lines changed

4 files changed

+2807
-489
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ ${GEN_DIR}/openapi/csharp.sh ${REPO_DIR}/src/KubernetesClient ${REPO_DIR}/csharp
149149

150150
| SDK Version | Kubernetes Version | .NET Targeting |
151151
|-------------|--------------------|------------------------------------------------------|
152+
| 12.0 | 1.28 | net6.0;net7.0;net48*;netstandard2.0* |
153+
| 11.0 | 1.27 | net6.0;net7.0;net48*;netstandard2.0* |
152154
| 10.0 | 1.26 | net6.0;net7.0;net48*;netstandard2.0* |
153155
| 9.1 | 1.25 | netstandard2.1;net6.0;net7.0;net48*;netstandard2.0* |
154156
| 9.0 | 1.25 | netstandard2.1;net5.0;net6.0;net48*;netstandard2.0* |
@@ -166,7 +168,7 @@ ${GEN_DIR}/openapi/csharp.sh ${REPO_DIR}/src/KubernetesClient ${REPO_DIR}/csharp
166168

167169
* Starting from `2.0`, [dotnet sdk versioning](https://github.com/kubernetes-client/csharp/issues/400) adopted
168170
* `Kubernetes Version` here means the version sdk models and apis were generated from
169-
* Kubernetes api server guarantees the compatibility with `n-2` version. for exmaple, 1.19 based sdk should work with 1.21 cluster, but no guarantee works with 1.22 cluster. see also <https://kubernetes.io/releases/version-skew-policy/>
171+
* Kubernetes api server guarantees the compatibility with `n-2` (`n-3` after 1.28) version. for exmaple, 1.19 based sdk should work with 1.21 cluster, but no guarantee works with 1.22 cluster. see also <https://kubernetes.io/releases/version-skew-policy/>
170172
* `*` `KubernetesClient.Classic`: netstandard2.0 and net48 are supported with limited features
171173

172174

csharp.settings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export KUBERNETES_BRANCH=v1.27.0
1+
export KUBERNETES_BRANCH=v1.28.0
22
export CLIENT_VERSION=0.0.1
33
export PACKAGE_NAME=k8s

0 commit comments

Comments
 (0)