Skip to content

Add generated ApplyConfiguration types - #4701

Open
mozesl-nokia wants to merge 1 commit into
kptdev:mainfrom
nokia:applyconfigurations
Open

Add generated ApplyConfiguration types#4701
mozesl-nokia wants to merge 1 commit into
kptdev:mainfrom
nokia:applyconfigurations

Conversation

@mozesl-nokia

@mozesl-nokia mozesl-nokia commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Related to kptdev/porch#1152

Added generated ApplyConfiguration types that can be used with client.Client.Apply method since the old client.Client.Patch with the client.Apply type is deprecated beyond 0.36 of the kubernetes API.

Caveat: we delete the utils.go file and internal package since those require apimachinery whilst giving us low-necessity functionality.

Also, since kpt types are not actual CRDs, this change is just for included/embedded types in consumer CRDs, mainly in Porch.

Almost all of the additions are generated code.

AI disclosure: Used Cursor Grok-4.5 for analysis and annotations

Signed-off-by: Mózes László Máté <laszlo.mozes@nokia.com>
Assisted-by: Cursor:grok-4.5
@mozesl-nokia mozesl-nokia added enhancement New feature or request go Pull requests that update Go code area/api labels Aug 14, 2026
@netlify

netlify Bot commented Aug 14, 2026

Copy link
Copy Markdown

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit d3c84df
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/6a7ee72e73fdd6000836719f
😎 Deploy Preview https://deploy-preview-4701--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@mozesl-nokia
mozesl-nokia marked this pull request as ready for review August 14, 2026 11:55
@mozesl-nokia
mozesl-nokia requested review from a team August 14, 2026 11:55
@dosubot dosubot Bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Aug 14, 2026
@mozesl-nokia
mozesl-nokia requested a review from a team August 14, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api enhancement New feature or request go Pull requests that update Go code size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant