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/02/12 16:38:24 UTC

[camel-k] 06/08: chore(rbac): Let OLM translate wildcard permissions on Camel K resources cluster-wide

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

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

commit 5730cbfa866e78ee7ff5081844627d15cecce79b
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Fri Feb 12 09:26:33 2021 +0100

    chore(rbac): Let OLM translate wildcard permissions on Camel K resources cluster-wide
---
 config/rbac/operator-cluster-role-openshift.yaml                  | 6 ------
 .../camel-k.v1.4.0-snapshot.clusterserviceversion.yaml            | 8 +-------
 pkg/resources/resources.go                                        | 4 ++--
 3 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/config/rbac/operator-cluster-role-openshift.yaml b/config/rbac/operator-cluster-role-openshift.yaml
index 7f020ab..196655c 100644
--- a/config/rbac/operator-cluster-role-openshift.yaml
+++ b/config/rbac/operator-cluster-role-openshift.yaml
@@ -35,9 +35,3 @@ rules:
   - patch
   - update
   - watch
-- apiGroups:
-  - camel.apache.org
-  resources:
-  - '*'
-  verbs:
-  - '*'
diff --git a/deploy/olm-catalog/camel-k-dev/1.4.0-snapshot/camel-k.v1.4.0-snapshot.clusterserviceversion.yaml b/deploy/olm-catalog/camel-k-dev/1.4.0-snapshot/camel-k.v1.4.0-snapshot.clusterserviceversion.yaml
index 14dbd5b..f72f497 100644
--- a/deploy/olm-catalog/camel-k-dev/1.4.0-snapshot/camel-k.v1.4.0-snapshot.clusterserviceversion.yaml
+++ b/deploy/olm-catalog/camel-k-dev/1.4.0-snapshot/camel-k.v1.4.0-snapshot.clusterserviceversion.yaml
@@ -163,7 +163,7 @@ metadata:
     categories: Integration & Delivery
     certified: "false"
     containerImage: docker.io/apache/camel-k:1.3.0-SNAPSHOT
-    createdAt: "2021-02-10T09:52:57Z"
+    createdAt: "2021-02-12T08:21:28Z"
     description: Apache Camel K is a lightweight integration platform, born on Kubernetes, with serverless superpowers.
     operators.operatorframework.io/builder: operator-sdk-v1.3.0
     operators.operatorframework.io/internal-objects: '["builds.camel.apache.org","integrationkits.camel.apache.org","camelcatalogs.camel.apache.org"]'
@@ -273,12 +273,6 @@ spec:
           - patch
           - update
           - watch
-        - apiGroups:
-          - camel.apache.org
-          resources:
-          - '*'
-          verbs:
-          - '*'
         serviceAccountName: camel-k-operator
       deployments:
       - name: camel-k-operator
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index 03e9b12..7448c7b 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -221,9 +221,9 @@ var assets = func() http.FileSystem {
 		"/rbac/operator-cluster-role-openshift.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "operator-cluster-role-openshift.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 1326,
+			uncompressedSize: 1254,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x72\xdb\x36\x10\xbd\xe3\x2b\xde\x88\x87\x24\x1d\x8b\x6a\x7b\xea\xa8\x27\xd5\xb1\x5b\x4e\x33\xd2\x8c\xa9\x34\x93\x23\x44\xae\xc8\x1d\x83\x58\x76\x01\x9a\x71\xbf\xbe\x03\x48\x4a\xac\xf1\xd5\xb8\x70\x09\x3e\xbe\x7d\x0f\x6f\x51\x60\xf9\x76\xcb\x14\xf8\xc4\x0d\xf9\x40\x2d\xa2\x20\xf6\x84\xcd\x68\x9b\x9e\x50\xcb\x31\xce\x56\x09\xf7\x32\xf9\xd6\x46\x16\x8f\xf7\x9b\xfa\xfe\x03\x26\xdf\x92\x42\x3c\x41\x14\x83\x28\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xc1\x6e\xdb\x46\x10\xbd\xef\x57\x3c\x88\x97\x04\xb0\xe8\xb6\xa7\x42\x3d\xa9\x8e\xdd\x12\x0d\x24\xc0\x54\x1a\xe4\x38\x22\x47\xe4\xc0\xcb\x1d\x76\x76\x69\xc6\xfd\xfa\x62\x29\x29\xb1\xd1\x6b\xf6\xc2\xe1\xf2\xf1\xcd\x7b\xfb\x66\x0b\xac\x7f\xdc\x72\x05\x3e\x4a\xc3\x21\x72\x8b\xa4\x48\x3d\x63\x3b\x52\xd3\x33\x6a\x3d\xa5\x99\x8c\xf1\xa0\x53\x68\x29\x89\x06\xbc\xdb\xd6\x0f\xef\x31\x85\x96\x0d\x1a\x18\x6a\x18\xd4\xd8\x [...]
 		},
 		"/rbac/operator-role-binding-events.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "operator-role-binding-events.yaml",