You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/08/21 08:18:57 UTC

[camel-k] branch main updated: Add list verb due to error reconcilation error in integrationplatform-controller

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new cc7840faf Add list verb due to error reconcilation error in  integrationplatform-controller
cc7840faf is described below

commit cc7840faf52ef341d4d6b5004a7608d479e722fe
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Mon Aug 14 23:47:59 2023 +0000

    Add list verb due to error reconcilation error in  integrationplatform-controller
    
    add list verb in config/rbac/operator-role.yaml
---
 config/rbac/operator-role.yaml            | 3 ++-
 helm/camel-k/templates/operator-role.yaml | 9 ++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/config/rbac/operator-role.yaml b/config/rbac/operator-role.yaml
index 5c01d853d..4ddc2d4c1 100644
--- a/config/rbac/operator-role.yaml
+++ b/config/rbac/operator-role.yaml
@@ -184,4 +184,5 @@ rules:
   resources:
   - namespaces
   verbs:
-  - get
\ No newline at end of file
+  - get
+  - list
diff --git a/helm/camel-k/templates/operator-role.yaml b/helm/camel-k/templates/operator-role.yaml
index 84f3149fe..b8e709b80 100644
--- a/helm/camel-k/templates/operator-role.yaml
+++ b/helm/camel-k/templates/operator-role.yaml
@@ -43,6 +43,13 @@ rules:
   - patch
   - update
   - watch
+- apiGroups:
+  - ""
+  resources:
+  - namespaces
+  verbs:
+  - get
+  - list
 - apiGroups:
   - camel.apache.org
   resources:
@@ -372,4 +379,4 @@ rules:
   - clusterroles
   verbs:
   - bind
-{{- end }}
\ No newline at end of file
+{{- end }}