Skip to content

update patch params#460

Merged
frank-spano merged 2 commits intomasterfrom
kube-patch-2
Mar 30, 2026
Merged

update patch params#460
frank-spano merged 2 commits intomasterfrom
kube-patch-2

Conversation

@frank-spano
Copy link
Copy Markdown
Contributor

What does this PR do?

Updates patch params

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

Reviewers: please see the review guidelines.

@frank-spano frank-spano requested a review from a team as a code owner March 30, 2026 16:11
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7d6def5716

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

// "merge" - RFC 7386 JSON merge patch, simple merge that replaces arrays entirely
// "json" - RFC 6902 JSON patch, explicit add/remove/replace operations at specific paths
// If not specified, defaults to "strategic-merge".
string patch_strategy = 2;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Regenerate checked-in artifacts for new proto field

Adding patch_strategy here updates the IDL but the commit does not update the checked-in generated outputs (kubeactions/kubeactions.pb.go still exposes only Patch []byte, and kubeactions/jsonschema/PatchDeploymentParams.json still describes only strategic merge semantics). Because this repository ships generated bindings, downstream users of the committed Go/JSON artifacts cannot use the new field, so the API change is effectively incomplete until codegen outputs are regenerated and committed together.

Useful? React with 👍 / 👎.

@frank-spano frank-spano merged commit b4560fa into master Mar 30, 2026
8 checks passed
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.

2 participants