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:16 UTC
[camel-k] 02/03: chore(RBAC): Add permissions to resolve Addressable Sinks
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 6d833a451014000be54bdab13d3f47eeb2ef9b03
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Fri Dec 3 09:29:01 2021 +0100
chore(RBAC): Add permissions to resolve Addressable Sinks
---
config/rbac/operator-role-knative.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/config/rbac/operator-role-knative.yaml b/config/rbac/operator-role-knative.yaml
index 8b37180..12bdd50 100644
--- a/config/rbac/operator-role-knative.yaml
+++ b/config/rbac/operator-role-knative.yaml
@@ -67,3 +67,18 @@ rules:
- list
- patch
- update
+ # Required to resolve Addressable Sinks
+ # We may want to external it and make it extensible
+- apiGroups:
+ - eventing.knative.dev
+ resources:
+ - brokers
+ verbs:
+ - get
+- apiGroups:
+ - messaging.knative.dev
+ resources:
+ - channels
+ - inmemorychannels
+ verbs:
+ - get