You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2021/12/06 08:30:15 UTC
[camel-k] 01/03: chore(RBAC): Remove wildcards from Knative role
This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 7d56646815152bf09c69566214371989206c42dc
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Fri Dec 3 09:27:53 2021 +0100
chore(RBAC): Remove wildcards from Knative role
---
config/rbac/operator-role-knative.yaml | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/config/rbac/operator-role-knative.yaml b/config/rbac/operator-role-knative.yaml
index c59021d..8b37180 100644
--- a/config/rbac/operator-role-knative.yaml
+++ b/config/rbac/operator-role-knative.yaml
@@ -29,7 +29,6 @@ rules:
verbs:
- create
- delete
- - deletecollection
- get
- list
- patch
@@ -37,16 +36,34 @@ rules:
- watch
- apiGroups:
- eventing.knative.dev
+ resources:
+ - triggers
+ verbs:
+ - create
+ - delete
+ - get
+ - list
+ - patch
+ - update
+- apiGroups:
- messaging.knative.dev
+ resources:
+ - subscriptions
+ verbs:
+ - create
+ - delete
+ - get
+ - list
+ - patch
+ - update
+- apiGroups:
- sources.knative.dev
resources:
- - "*"
+ - sinkbindings
verbs:
- create
- delete
- - deletecollection
- get
- list
- patch
- update
- - watch