Skip to content

Add Deployment spec round-trip regression coverage - #2792

Merged
kubernetes-prow[bot] merged 1 commit into
kubernetes-client:masterfrom
brendandburns:copilot/fix-2435-deployment-roundtrip
Nov 26, 2026
Merged

kubernetes-prow[bot] merged 1 commit into
kubernetes-client:masterfrom
brendandburns:copilot/fix-2435-deployment-roundtrip

Conversation

@brendandburns

Copy link
Copy Markdown
Contributor

This adds the regression testing suggested in:

#2435

Fixes #2435

@kubernetes-prow kubernetes-prow Bot added the do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. label Nov 17, 2026
@kubernetes-prow
kubernetes-prow Bot requested review from roycaihw and yliaog November 17, 2026 20:10
@kubernetes-prow kubernetes-prow Bot added needs-kind Indicates a PR lacks a `kind/foo` label and requires one. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 17, 2026
@yliaog

yliaog commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

thanks for the PR, I think the test code is fine, but is it better to put the test under kubernetes/test, instead of under kubernetes/base ?

@roycaihw roycaihw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1 to moving it to kubernetes/test, kubernetes/base was cleaned up and only has retry.py now. LGTM otherwise.

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, roycaihw

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

The pull request process is described 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

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 23, 2026
@linux-foundation-easycla

linux-foundation-easycla Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: brendandburns / name: Brendan Burns (5db9f2b)

@kubernetes-prow kubernetes-prow Bot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. and removed cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 25, 2026
@brendandburns
brendandburns force-pushed the copilot/fix-2435-deployment-roundtrip branch from 2b65e9a to 5db9f2b Compare November 25, 2026 20:05
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Nov 25, 2026
@brendandburns

Copy link
Copy Markdown
Contributor Author

Moved it to the test directory, please take another look.

@yliaog

yliaog commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

/release-note-none

@kubernetes-prow kubernetes-prow Bot added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Nov 26, 2026
@yliaog

yliaog commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 26, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit a0ff901 into kubernetes-client:master Nov 26, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deployment spec properties are inadvertently removed when serializing

3 participants