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 87a4799f6693ff929978dc8855bbc13b1da9cbda
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Thu Jan 27 15:40:45 2022 +0100

    fix(rbac): Add kafkachannels to default Knative Sinks RBAC
---
 config/rbac/operator-role-knative.yaml | 1 +
 pkg/resources/resources.go             | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/config/rbac/operator-role-knative.yaml 
b/config/rbac/operator-role-knative.yaml
index 12bdd50..296bdf2 100644
--- a/config/rbac/operator-role-knative.yaml
+++ b/config/rbac/operator-role-knative.yaml
@@ -80,5 +80,6 @@ rules:
   resources:
   - channels
   - inmemorychannels
+  - kafkachannels
   verbs:
   - get
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index 05d066a..3fec1f6 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -357,9 +357,9 @@ var assets = func() http.FileSystem {
                "/rbac/operator-role-knative.yaml": &vfsgen۰CompressedFileInfo{
                        name:             "operator-role-knative.yaml",
                        modTime:          time.Time{},
-                       uncompressedSize: 1899,
+                       uncompressedSize: 1917,
 
-                       compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x54\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x02\xac\xe5\xb6\xa7\xc2\x3d\xb9\x9b\xdd\xd6\x68\x60\x03\x96\xd3\x45\x8e\x94\x34\x96\x06\xa6\x48\x75\x48\x59\xeb\x7e\x7d\x41\x5a\x6e\x9c\x6e\x81\x2d\x8a\x8d\x2e\x1e\xd1\x4f\x33\xef\xcd\x1b\x4e\x86\xf9\xdb\x3d\x2a\xc3\x47\xae\xc8\x7a\xaa\x11\x1c\x42\x4b\x58\xf5\xba\x6a\x09\x85\x3b\x84\x51\x0b\xe1\xd1\x0d\xb6\xd6\x81\x9d\xc5\xbb\x55\xf1\xf8\x1e\x83\xad\x49\xe0\x2c\xc1\x
 [...]
+                       compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x54\x41\x6f\xe3\x46\x0f\xbd\xeb\x57\x3c\x58\x97\x5d\x20\x56\xbe\xaf\xa7\xc2\x3d\xb9\xd9\xa4\x35\xba\xb0\x81\xc8\xdb\x60\x8f\x94\x44\x4b\x84\x46\x33\x2a\x67\x64\x25\xfd\xf5\xc5\x4c\xec\xae\xd3\x14\x48\x51\xa4\xba\x98\xa2\x9f\xc8\xf7\xe6\x71\x98\x63\xf9\x7e\x4f\x96\xe3\xb3\xd4\x6c\x3d\x37\x08\x0e\xa1\x63\xac\x47\xaa\x3b\x46\xe9\x0e\x61\x26\x65\xdc\xb9\xc9\x36\x14\xc4\x59\x7c\x58\x97\x77\x1f\x31\xd9\x86\x15\xce\x32\x
 [...]
                },
                "/rbac/operator-role-leases.yaml": &vfsgen۰CompressedFileInfo{
                        name:             "operator-role-leases.yaml",

Reply via email to