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/01 13:29:36 UTC
[camel-k] 01/07: chore(rbac): Remove wildcards from the operator 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 43d922f01889e16a68a8c275e01890a638672f8c
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Tue Nov 30 11:23:38 2021 +0100
chore(rbac): Remove wildcards from the operator role
---
config/rbac/operator-role.yaml | 35 +++++++++++++++++++++++++++++++++--
1 file changed, 33 insertions(+), 2 deletions(-)
diff --git a/config/rbac/operator-role.yaml b/config/rbac/operator-role.yaml
index cc7fd7b..613ac5e 100644
--- a/config/rbac/operator-role.yaml
+++ b/config/rbac/operator-role.yaml
@@ -25,9 +25,40 @@ rules:
- apiGroups:
- camel.apache.org
resources:
- - "*"
+ - builds
+ - camelcatalogs
+ - integrationkits
+ - integrationplatforms
+ - integrations
+ - kameletbindings
+ - kamelets
verbs:
- - "*"
+ - create
+ - get
+ - list
+ - patch
+ - update
+ - watch
+- apiGroups:
+ - camel.apache.org
+ resources:
+ - builds
+ verbs:
+ - delete
+- apiGroups:
+ - camel.apache.org
+ resources:
+ - builds/status
+ - camelcatalogs/status
+ - integrationkits/status
+ - integrationplatforms/status
+ - integrations/status
+ - kameletbindings/status
+ - kamelets/status
+ verbs:
+ - get
+ - patch
+ - update
- apiGroups:
- ""
resources: