this check needs to go after any mutations. After the mutating admission chain, rest.BeforeUpdate (which is responsible for reverting updates to immutable timestamp fields, among other things.) is called in the store.Update function. Without moving this check, it will be possible for an object to be written to etcd with only a change to its managed fields timestamp. Kubernetes-commit: 2b01f63b115e19e8ac9f8ee8e00dde65c5f40290 |
||
---|---|---|
.. | ||
generic | ||
rest | ||
doc.go |