Repository navigation
fix(api): enforce EtcdSnapshot spec immutability - #364
Aleksei Sviridkin (lexfrei) merged 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to The PR makes EtcdSnapshot specs immutable while preserving metadata and status updates, preventing edits that could diverge from the running Job. No actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
693708d to
cc04907
Compare
Signed-off-by: immanuwell <pchpr.00@list.ru>
cc04907 to
de71136
Compare
EtcdSnapshotis documented as immutable, but the CRD currently accepts spec editsRepro:
EtcdSnapshotand let its Job startspec.clusterReforspec.destinationwithkubectl editThis adds a CEL transition rule for the whole spec.
Metadata and status updates still work, so normal reconciliation stays intact
Tested with
make testSummary by CodeRabbit
New Features
Bug Fixes