DRA API: don't allow changing object meta during status update #123727
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
sig/node
Categorizes an issue or PR as relevant to SIG Node.
What happened?
The strategy.go's
PrepareForStatusUpdate
was copied from some other, broken types. A call toResetObjectMetaForStatus
is missing and therefore, for example, finalizers can be changed during a status update. That is not supposed to be possible.What did you expect to happen?
Object meta changes need to be removed during status updates.
How can we reproduce it (as minimally and precisely as possible)?
n/a
Anything else we need to know?
No response
Kubernetes version
Since 1.26 till at least 1.29.
Cloud provider
n/a
OS version
No response
Install tools
No response
Container runtime (CRI) and version (if applicable)
No response
Related plugins (CNI, CSI, ...) and versions (if applicable)
No response
The text was updated successfully, but these errors were encountered: