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

[camel-k] 05/07: chore(rbac): Add permissions on finalizers sub-resources to the operator SA

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 176e8aa3d0a7373a0ea1a1ae68bfb13e91b68ee2
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Tue Nov 30 19:16:17 2021 +0100

    chore(rbac): Add permissions on finalizers sub-resources to the operator SA
---
 config/rbac/openshift/operator-role-openshift.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/config/rbac/openshift/operator-role-openshift.yaml b/config/rbac/openshift/operator-role-openshift.yaml
index 23d67b4..bebcb59 100644
--- a/config/rbac/openshift/operator-role-openshift.yaml
+++ b/config/rbac/openshift/operator-role-openshift.yaml
@@ -23,6 +23,16 @@ metadata:
     app: "camel-k"
 rules:
 - apiGroups:
+  - camel.apache.org
+  resources:
+  - builds/finalizers
+  - integrationkits/finalizers
+  - integrationplatforms/finalizers
+  - integrations/finalizers
+  - kameletbindings/finalizers
+  verbs:
+  - update
+- apiGroups:
   - ""
   - "build.openshift.io"
   resources: