RFE-7373 | feat: add permissions to delete ClusterSync(leases)#2864
Conversation
As currently (Selector)SyncSet doesn't watch for secrets listed in Spec.SecretMappings, as a workaround we can delete the ClusterSyncLease for the CD to trigger a refresh of the secrets in case of need. This commit adds the relevant permission to allow this flow.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughAdds the delete verb to hiveinternal.openshift.io resources (clustersyncs and clustersyncleases) within the hive_frontend RBAC role. The change appears in both the source configuration file and its embedded binary representation. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
@andreadecorte: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2864 +/- ##
=======================================
Coverage 50.30% 50.30%
=======================================
Files 280 280
Lines 34309 34309
=======================================
Hits 17258 17258
Misses 15690 15690
Partials 1361 1361
🚀 New features to boost your workflow:
|
|
Sane. /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 2uasimojo, andreadecorte The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
As currently (Selector)SyncSet doesn't watch for secrets listed in Spec.SecretMappings, as a workaround we can delete the ClusterSyncLease for the CD to trigger a refresh of the secrets in case of need.
This commit adds the relevant permission to allow this flow.
Summary by CodeRabbit