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:38 UTC

[camel-k] 03/07: chore(rbac): Remove wildcards from the builder 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 61df32f359899021776c0806f440b95903edb5fc
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Tue Nov 30 11:24:43 2021 +0100

    chore(rbac): Remove wildcards from the builder role
---
 resources/builder/builder-role.yaml | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/resources/builder/builder-role.yaml b/resources/builder/builder-role.yaml
index 172eca7..7051f64 100644
--- a/resources/builder/builder-role.yaml
+++ b/resources/builder/builder-role.yaml
@@ -25,9 +25,20 @@ rules:
 - apiGroups:
   - camel.apache.org
   resources:
-  - "*"
+  - builds
+  - camelcatalogs
+  - integrationkits
   verbs:
-  - "*"
+  - get
+  - list
+- apiGroups:
+  - camel.apache.org
+  resources:
+  - builds/status
+  verbs:
+  - get
+  - patch
+  - update
 - apiGroups:
   - ""
   resources: