chore: add script to generate rbac summary#9570
Merged
Conversation
Collaborator
|
Auto Cherry-pick Instructions |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9570 +/- ##
==========================================
+ Coverage 59.90% 59.99% +0.09%
==========================================
Files 518 518
Lines 56606 56607 +1
==========================================
+ Hits 33908 33962 +54
+ Misses 19649 19605 -44
+ Partials 3049 3040 -9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
shanshanying
approved these changes
Jul 28, 2025
zjx20
approved these changes
Jul 28, 2025
zjx20
approved these changes
Jul 29, 2025
Collaborator
Author
|
/approve |
apecloud-bot
approved these changes
Aug 21, 2025
Collaborator
|
/cherry-pick release-0.9 |
Collaborator
|
/cherry-pick release-1.0 |
apecloud-bot
pushed a commit
that referenced
this pull request
Aug 22, 2025
(cherry picked from commit df2bf7a)
Collaborator
|
🤖 says: cherry pick action finished successfully 🎉! |
Collaborator
|
🤖 says: cherry pick action finished successfully 🎉! |
apecloud-bot
pushed a commit
that referenced
this pull request
Aug 22, 2025
(cherry picked from commit df2bf7a)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add script to generat all needed rbac permissions, the result as follows:
KubeBlocks Operator RBAC Permissions
KubeBlocks operator requires different permissions based on configuration parameters.
Generated: Mon Jul 28 18:16:04 CST 2025
Base Configuration
Configuration:
webhooks.conversionEnabled=falseandrbac.enabled=falseKubernetes Resource Permissions
Core API Group
apps
authentication.k8s.io
authorization.k8s.io
batch
coordination.k8s.io
rbac.authorization.k8s.io
snapshot.storage.k8s.io
storage.k8s.io
Non-Resource URLs
KubeBlocks Custom Resources
apps.kubeblocks.io
dataprotection.kubeblocks.io
experimental.kubeblocks.io
extensions.kubeblocks.io
operations.kubeblocks.io
parameters.kubeblocks.io
trace.kubeblocks.io
workloads.kubeblocks.io
Additional Permissions for Different Configurations
webhooks.conversionEnabled=true
Additional permissions required:
apiextensions.k8s.io
apps
rbac.enabled=true
Additional permissions required:
Core API Group
rbac.authorization.k8s.io