Skip to content

Example to disallow UpdateStatus on objects without status subresource#583

Draft
tomleb wants to merge 1 commit into
rancher:mainfrom
tomleb:no-status
Draft

Example to disallow UpdateStatus on objects without status subresource#583
tomleb wants to merge 1 commit into
rancher:mainfrom
tomleb:no-status

Conversation

@tomleb

@tomleb tomleb commented Aug 8, 2025

Copy link
Copy Markdown
Contributor

Not meant to be merged, just to start a discussion..

With the work in rancher/rancher#51375 we saw a regression due to Update call being replaced by UpdateStatus on a resource that didn't have a status subresource. Wrangler should try to make that impossible to happen.

This doesn't handle kubebuilder:skipversion NOR wrangler generated CRDs which don't have the kubebuilder:subresource:status comment but still have a status subresource (eg: operations.catalog.cattle.io)

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.

1 participant