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/08/05 10:49:59 UTC

[camel-k] branch main updated: chore(rbac): Remove attributeRestrictions fields

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


The following commit(s) were added to refs/heads/main by this push:
     new 654b2de  chore(rbac): Remove attributeRestrictions fields
654b2de is described below

commit 654b2de484d7bfa52d5ff6869ea0081e07c8325f
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Thu Aug 5 10:47:37 2021 +0200

    chore(rbac): Remove attributeRestrictions fields
---
 config/rbac/builder-role-openshift.yaml                               | 1 -
 .../ROOT/assets/attachments/tekton/camel-k-pipeline-permissions.yaml  | 2 --
 helm/camel-k/templates/operator-role.yaml                             | 2 --
 pkg/resources/resources.go                                            | 4 ++--
 4 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/config/rbac/builder-role-openshift.yaml b/config/rbac/builder-role-openshift.yaml
index d3c4f4f..251ab2d 100644
--- a/config/rbac/builder-role-openshift.yaml
+++ b/config/rbac/builder-role-openshift.yaml
@@ -95,7 +95,6 @@ rules:
 - apiGroups:
   - ""
   - build.openshift.io
-  attributeRestrictions: null
   resources:
   - buildconfigs/instantiate
   - buildconfigs/instantiatebinary
diff --git a/docs/modules/ROOT/assets/attachments/tekton/camel-k-pipeline-permissions.yaml b/docs/modules/ROOT/assets/attachments/tekton/camel-k-pipeline-permissions.yaml
index 3b05991..0949c09 100644
--- a/docs/modules/ROOT/assets/attachments/tekton/camel-k-pipeline-permissions.yaml
+++ b/docs/modules/ROOT/assets/attachments/tekton/camel-k-pipeline-permissions.yaml
@@ -92,7 +92,6 @@ rules:
       - watch
   - apiGroups:
       - apps
-    attributeRestrictions: null
     resources:
       - daemonsets
     verbs:
@@ -136,7 +135,6 @@ rules:
   - apiGroups:
       - ""
       - build.openshift.io
-    attributeRestrictions: null
     resources:
       - buildconfigs/instantiate
       - buildconfigs/instantiatebinary
diff --git a/helm/camel-k/templates/operator-role.yaml b/helm/camel-k/templates/operator-role.yaml
index 1e9fc34..b5b1aad 100644
--- a/helm/camel-k/templates/operator-role.yaml
+++ b/helm/camel-k/templates/operator-role.yaml
@@ -120,7 +120,6 @@ rules:
   - watch
 - apiGroups:
   - apps
-  attributeRestrictions: null
   resources:
   - daemonsets
   verbs:
@@ -177,7 +176,6 @@ rules:
 - apiGroups:
   - ""
   - build.openshift.io
-  attributeRestrictions: null
   resources:
   - buildconfigs/instantiate
   - buildconfigs/instantiatebinary
diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go
index ee2eb30..b2abbd2 100644
--- a/pkg/resources/resources.go
+++ b/pkg/resources/resources.go
@@ -192,9 +192,9 @@ var assets = func() http.FileSystem {
 		"/rbac/builder-role-openshift.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "builder-role-openshift.yaml",
 			modTime:          time.Time{},
-			uncompressedSize: 2116,
+			uncompressedSize: 2086,
 
-			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\x4f\x8f\xdb\xb6\x13\xbd\xf3\x53\x3c\x48\x97\xe4\x87\xb5\xfc\x6b\x4f\x85\x7b\x72\x37\xbb\xad\xd1\xc0\x06\x56\x4e\x83\x1c\xc7\xd4\x58\x1a\x2c\x45\xb2\x24\xb5\xca\xf6\xd3\x17\xa2\xed\xae\x1d\xa7\xff\xd0\x00\xd1\xc5\xa3\xe1\xf0\xcd\x7b\xf3\xc6\x2a\x31\xfb\x72\x8f\x2a\xf1\x56\x34\xdb\xc8\x0d\x92\x43\xea\x18\x4b\x4f\xba\x63\xd4\x6e\x9f\x46\x0a\x8c\x7b\x37\xd8\x86\x92\x38\x8b\x57\xcb\xfa\xfe\x35\x06\xdb\x70\x80\xb3\x [...]
+			compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\x4f\x8f\xdb\xb6\x13\xbd\xf3\x53\x3c\x48\x97\xe4\x87\xb5\xfc\x6b\x4f\x85\x7b\x72\x37\xbb\xad\xd1\xc0\x06\x56\x4e\x83\x1c\xc7\xd4\x58\x1a\x2c\x45\xb2\x24\xb5\xca\xf6\xd3\x17\xa2\xed\xae\x1d\xa7\xff\xd0\x00\xd1\xc5\xd4\xf0\xf1\xcd\x7b\x7c\x63\x95\x98\x7d\xb9\x47\x95\x78\x2b\x9a\x6d\xe4\x06\xc9\x21\x75\x8c\xa5\x27\xdd\x31\x6a\xb7\x4f\x23\x05\xc6\xbd\x1b\x6c\x43\x49\x9c\xc5\xab\x65\x7d\xff\x1a\x83\x6d\x38\xc0\x59\x [...]
 		},
 		"/rbac/operator-cluster-role-binding-openshift.yaml": &vfsgen۰CompressedFileInfo{
 			name:             "operator-cluster-role-binding-openshift.yaml",