Revert "Add MustCreate management policy"#933
Conversation
📝 WalkthroughWalkthroughThis PR systematically removes the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (2 passed)
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 |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
pkg/reconciler/managed/policies.go (1)
98-98: Pre-existing typo: "No Crate" → "No Create"Not from this PR, but I noticed the comment on line 98 says "No Crate" instead of "No Create." Would you be open to fixing this while you're in the neighborhood? Totally optional — happy to open a separate issue if you'd prefer to keep this revert minimal.
✏️ Typo fix
- // No Crate and no Delete. Just update/patch the external resource. + // No Create and no Delete. Just update/patch the external resource.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@pkg/reconciler/managed/policies.go` at line 98, Update the typo in the comment that currently reads "No Crate and no Delete. Just update/patch the external resource." to "No Create and no Delete. Just update/patch the external resource." Locate the comment text in policies.go (search for "No Crate and no Delete") and make the small textual change; no code logic changes required.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@pkg/reconciler/managed/policies.go`:
- Line 98: Update the typo in the comment that currently reads "No Crate and no
Delete. Just update/patch the external resource." to "No Create and no Delete.
Just update/patch the external resource." Locate the comment text in policies.go
(search for "No Crate and no Delete") and make the small textual change; no code
logic changes required.
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin release-2.2
git worktree add -d .worktree/backport-933-to-release-2.2 origin/release-2.2
cd .worktree/backport-933-to-release-2.2
git switch --create backport-933-to-release-2.2
git cherry-pick -x 7504c3e74f5951d46762a619d7d136da5b3a2a61 |
|
Successfully created backport PR for |
This reverts commit af8c3fb, reversing changes made to a4cdda4.
Description of your changes
Reverts #874
Discussed with @bobh66 in Crossplane Slack. We would like to hold off on changes to management policies until we find a better aligned solution.
Ref: #930
Fixes #
I have:
./nix.sh flake checkto ensure this PR is ready for review.[ ] Linked a PR or a docs tracking issue to document this change.backport release-x.ylabels to auto-backport this PR.Need help with this checklist? See the cheat sheet.