Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions charts/komodor-agent/templates/admission-controller/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ rules:
- get
- watch
- list
- patch
- apiGroups:
- "*"
resources:
Expand All @@ -73,6 +74,15 @@ rules:
- pods/resize
verbs:
- patch
- apiGroups:
- keda.sh
resources:
- scaledobjects
Comment on lines +77 to +80
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth verifying if you need an API version. If you do - you may need to specify multiple versions or even "*".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you already told me it's unnecessary and actually impossible, I'm approving

verbs:
- get
- watch
- list
- patch

# Required for Admission Controller in-place mutation:
- nonResourceURLs:
Expand Down