Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 26, 2025

Kubernetes C# client needs to track the upstream v1.35 API surface and expose the refreshed swagger/models.

  • Generation inputs

    • Target Kubernetes branch updated to v1.35.0 in csharp.settings.
  • Generated artifacts

    • swagger.json regenerated from the processed v1.35 spec (info.version now v1.35.0).
  • Versioning & docs

    • SDK version raised to 19.0 in version.json.
    • README compatibility table extended with the 19.0 / 1.35 row.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • idp.issuer.url
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/csharp/csharp/tests/KubernetesClient.Tests/bin/Debug/net8.0/KubernetesClient.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/csharp/csharp/tests/KubernetesClient.Tests/bin/Debug/net8.0/KubernetesClient.Tests.deps.json /home/REDACTED/work/csharp/csharp/tests/KubernetesClient.Tests/bin/Debug/net8.0/testhost.dll --port 37481 --endpoint 127.0.0.1:037481 --role client --parentprocessid 6512 --telemetryoptedin false (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/csharp/csharp/tests/KubernetesClient.Tests/bin/Debug/net10.0/KubernetesClient.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/csharp/csharp/tests/KubernetesClient.Tests/bin/Debug/net10.0/KubernetesClient.Tests.deps.json /home/REDACTED/work/csharp/csharp/tests/KubernetesClient.Tests/bin/Debug/net10.0/testhost.dll --port 40755 --endpoint 127.0.0.1:040755 --role client --parentprocessid 6498 --telemetryoptedin false (dns block)
    • Triggering command: /usr/share/dotnet/dotnet /usr/share/dotnet/dotnet exec --runtimeconfig /home/REDACTED/work/csharp/csharp/tests/KubernetesClient.Tests/bin/Debug/net9.0/KubernetesClient.Tests.runtimeconfig.json --depsfile /home/REDACTED/work/csharp/csharp/tests/KubernetesClient.Tests/bin/Debug/net9.0/KubernetesClient.Tests.deps.json /home/REDACTED/work/csharp/csharp/tests/KubernetesClient.Tests/bin/Debug/net9.0/testhost.dll --port 34131 --endpoint 127.0.0.1:034131 --role client --parentprocessid 6499 --telemetryoptedin false (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

generate using k8s v1.35

guide:

You'll need a Linux machine with Docker.

Check out the generator project into some other directory (henceforth $GEN_DIR).

cd $GEN_DIR/..
git clone https://github.com/kubernetes-client/gen
Generating new swagger.json

Where REPO_DIR points to the root of the csharp repository

cd
${GEN_DIR}/openapi/csharp.sh ${REPO_DIR}/src/KubernetesClient ${REPO_DIR}/csharp.settings

take pr #1654 as ref


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 26, 2025
Co-authored-by: tg123 <170430+tg123@users.noreply.github.com>
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Copilot
Once this PR has been reviewed and has the lgtm label, please ask for approval from tg123. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 26, 2025
Copilot AI changed the title [WIP] Generate new swagger.json for Kubernetes client Update client generation to Kubernetes v1.35 and bump SDK version to 19.0 Dec 26, 2025
Copilot AI requested a review from tg123 December 26, 2025 09:03
@tg123 tg123 marked this pull request as ready for review January 12, 2026 07:40
Copilot AI review requested due to automatic review settings January 12, 2026 07:40
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 12, 2026
@tg123
Copy link
Member

tg123 commented Jan 12, 2026

manually verified swagger.json

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Kubernetes C# client to track the v1.35 API surface. The SDK version is bumped to 19.0 to reflect compatibility with Kubernetes v1.35.0.

Changes:

  • Updated target Kubernetes version from v1.34.0 to v1.35.0
  • Bumped SDK version from 18.0 to 19.0
  • Added compatibility entry for SDK 19.0 with Kubernetes 1.35

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
version.json Incremented SDK version to 19.0
csharp.settings Updated KUBERNETES_BRANCH to v1.35.0
README.md Added SDK 19.0 / Kubernetes 1.35 compatibility row

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants