-
Notifications
You must be signed in to change notification settings - Fork 72
[Feature] Enable ML Operator and add required Platform Roles #1952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -22,5 +22,28 @@ rules: | |||||||||||
| - "arangoplatformservices" | ||||||||||||
| - "arangoplatformservices/status" | ||||||||||||
| verbs: ["*"] | ||||||||||||
| - apiGroups: | ||||||||||||
| - "rbac.authorization.k8s.io" | ||||||||||||
| resources: | ||||||||||||
| - "roles" | ||||||||||||
| - "rolebindings" | ||||||||||||
| verbs: [ "*" ] | ||||||||||||
| - apiGroups: | ||||||||||||
| - "batch" | ||||||||||||
| resources: | ||||||||||||
| - "cronjobs" | ||||||||||||
| - "jobs" | ||||||||||||
| verbs: [ "*" ] | ||||||||||||
|
||||||||||||
| verbs: [ "*" ] | |
| verbs: [ "get", "list", "create", "update", "patch", "delete", "watch" ] |
Copilot
AI
Aug 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wildcard permissions (*) for StatefulSets should be restricted to only the necessary operations. Consider using specific verbs like ["get", "list", "create", "update", "patch", "delete", "watch"].
| verbs: [ "*" ] | |
| verbs: [ "get", "list", "create", "update", "patch", "delete", "watch" ] |
Copilot
AI
Aug 11, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Granting wildcard permissions (*) for core resources including secrets is a security concern as it provides excessive access to sensitive data. Consider limiting to specific operations required for ML functionality.
| verbs: [ "*" ] | |
| verbs: | |
| - "get" | |
| - "list" | |
| - "watch" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Granting wildcard permissions () for RBAC resources (roles and rolebindings) poses a significant security risk as it allows the operator to escalate privileges. Consider using specific verbs like ["get", "list", "create", "update", "patch", "delete"] instead of "".