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:14 UTC
[camel-k] branch main updated (705bde8 -> 1cfd4fc)
This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git.
from 705bde8 Updated CHANGELOG.md
new 7d56646 chore(RBAC): Remove wildcards from Knative role
new 6d833a4 chore(RBAC): Add permissions to resolve Addressable Sinks
new 1cfd4fc chore: Rebuild resources
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
config/rbac/operator-role-knative.yaml | 40 ++++++++++++++++++++++++++++++----
pkg/resources/resources.go | 4 ++--
2 files changed, 38 insertions(+), 6 deletions(-)
[camel-k] 01/03: chore(RBAC): Remove wildcards from Knative role
Posted by as...@apache.org.
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 7d56646815152bf09c69566214371989206c42dc
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Fri Dec 3 09:27:53 2021 +0100
chore(RBAC): Remove wildcards from Knative role
---
config/rbac/operator-role-knative.yaml | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/config/rbac/operator-role-knative.yaml b/config/rbac/operator-role-knative.yaml
index c59021d..8b37180 100644
--- a/config/rbac/operator-role-knative.yaml
+++ b/config/rbac/operator-role-knative.yaml
@@ -29,7 +29,6 @@ rules:
verbs:
- create
- delete
- - deletecollection
- get
- list
- patch
@@ -37,16 +36,34 @@ rules:
- watch
- apiGroups:
- eventing.knative.dev
+ resources:
+ - triggers
+ verbs:
+ - create
+ - delete
+ - get
+ - list
+ - patch
+ - update
+- apiGroups:
- messaging.knative.dev
+ resources:
+ - subscriptions
+ verbs:
+ - create
+ - delete
+ - get
+ - list
+ - patch
+ - update
+- apiGroups:
- sources.knative.dev
resources:
- - "*"
+ - sinkbindings
verbs:
- create
- delete
- - deletecollection
- get
- list
- patch
- update
- - watch
[camel-k] 02/03: chore(RBAC): Add permissions to resolve Addressable Sinks
Posted by as...@apache.org.
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
[camel-k] 03/03: chore: Rebuild resources
Posted by as...@apache.org.
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 1cfd4fce720a2209e1c0641e242b6433c79d3f36
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Fri Dec 3 09:30:18 2021 +0100
chore: Rebuild resources
---
pkg/resources/resources.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index 4f08fd5..b798a6a 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -343,9 +343,9 @@ var assets = func() http.FileSystem {
"/rbac/operator-role-knative.yaml": &vfsgen۰CompressedFileInfo{
name: "operator-role-knative.yaml",
modTime: time.Time{},
- uncompressedSize: 1442,
+ uncompressedSize: 1899,
- compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x53\xc1\x8e\xdb\x36\x10\xbd\xf3\x2b\x1e\xac\x4b\x52\xac\xe5\xb6\xa7\xc2\x3d\xb9\x9b\xdd\x56\x68\x60\x03\x2b\xa7\x41\x8e\x63\x6a\x2c\x0d\x4c\x91\xea\x90\xb2\xb2\xfd\xfa\x42\xb2\xdc\x78\xb1\x45\x4f\x8b\xf2\xa2\x11\xf9\xf4\xe6\x3d\xbe\x51\x86\xe5\xdb\x2d\x93\xe1\xa3\x58\xf6\x91\x2b\xa4\x80\xd4\x30\x36\x1d\xd9\x86\x51\x86\x63\x1a\x48\x19\x8f\xa1\xf7\x15\x25\x09\x1e\xef\x36\xe5\xe3\x7b\xf4\xbe\x62\x45\xf0\x8c\xa0\x68\x [...]
+ 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 [...]
},
"/rbac/operator-role-leases.yaml": &vfsgen۰CompressedFileInfo{
name: "operator-role-leases.yaml",