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 22a606def5a4c8119621e7f646204aeadef2aad0
Author: Antonin Stefanutti <anto...@stefanutti.fr>
AuthorDate: Tue Feb 25 10:48:52 2020 +0100

    fix: Grant bind permission on system:image-builder cluster role
---
 deploy/operator-role-olm.yaml       |  8 ++++++++
 deploy/operator-role-openshift.yaml |  9 ++++++++-
 deploy/resources.go                 | 16 ++++------------
 3 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/deploy/operator-role-olm.yaml b/deploy/operator-role-olm.yaml
index 18a6f91..ec90ab7 100644
--- a/deploy/operator-role-olm.yaml
+++ b/deploy/operator-role-olm.yaml
@@ -212,3 +212,11 @@ rules:
   - patch
   - update
   - watch
+- apiGroups:
+  - rbac.authorization.k8s.io
+  resources:
+  - clusterroles
+  verbs:
+  - bind
+  resourceNames:
+  - system:image-builder
diff --git a/deploy/operator-role-openshift.yaml 
b/deploy/operator-role-openshift.yaml
index 9da5132..cf903c4 100644
--- a/deploy/operator-role-openshift.yaml
+++ b/deploy/operator-role-openshift.yaml
@@ -171,4 +171,11 @@ rules:
   - routes/custom-host
   verbs:
   - create
-
+- apiGroups:
+  - rbac.authorization.k8s.io
+  resources:
+  - clusterroles
+  verbs:
+  - bind
+  resourceNames:
+  - system:image-builder
diff --git a/deploy/resources.go b/deploy/resources.go
index 4473ed5..72fd268 100644
--- a/deploy/resources.go
+++ b/deploy/resources.go
@@ -196,16 +196,16 @@ var assets = func() http.FileSystem {
                "/operator-role-olm.yaml": &vfsgen۰CompressedFileInfo{
                        name:             "operator-role-olm.yaml",
                        modTime:          time.Time{},
-                       uncompressedSize: 3541,
+                       uncompressedSize: 3674,
 
-                       compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x56\x41\x93\xda\x46\x13\xbd\xeb\x57\x74\xa1\x8b\xfd\xd5\x22\x3e\xe7\x94\x22\x27\xb2\xde\x4d\xa8\xb8\xa0\x6a\xc1\x71\xf9\xd8\x1a\x35\x52\x87\xd1\xf4\x64\x66\x04\x4b\x7e\x7d\x4a\x23\x61\x8b\xd5\x6e\xd6\xa9\x72\x0a\x2e\x8c\x7a\x9a\xd7\xaf\xdf\x6b\x1a\x52\x98\x7e\xbf\x57\x92\xc2\x07\x56\x64\x3c\x15\x10\x04\x42\x45\xb0\xb0\xa8\x2a\x82\x8d\xec\xc2\x11\x1d\xc1\xbd\x34\xa6\xc0\xc0\x62\xe0\xcd\x62\x73\xff\x16\x1a\x53\x90\x
 [...]
+                       compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\x41\x8f\xdb\x36\x13\xbd\xeb\x57\x0c\xac\x4b\xf2\x61\x2d\x7f\xe9\xa9\x70\x4f\x6e\xb2\xdb\x1a\x0d\x6c\x60\xed\x34\xc8\x71\x44\x8d\xa5\xa9\x29\x0e\x4b\x52\xf6\xba\xbf\xbe\x10\x25\x6f\xe4\xd5\x6e\x37\x05\x02\xb8\xbe\x98\x22\xc7\x6f\xde\xbc\x37\x1a\x33\x85\xe9\xf7\xfb\x24\x29\x7c\x64\x45\xc6\x53\x01\x41\x20\x54\x04\x0b\x8b\xaa\x22\xd8\xc8\x2e\x1c\xd1\x11\xdc\x49\x63\x0a\x0c\x2c\x06\xde\x2c\x36\x77\x6f\xa1\x31\x05\x
 [...]
                },
                "/operator-role-openshift.yaml": &vfsgen۰CompressedFileInfo{
                        name:             "operator-role-openshift.yaml",
                        modTime:          time.Time{},
-                       uncompressedSize: 3028,
+                       uncompressedSize: 3160,
 
-                       compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\xc1\x8e\xdb\x46\x0c\xbd\xeb\x2b\x08\xe9\x92\x14\x6b\xb9\xe9\xa9\x70\x4f\x6e\xb2\xdb\x1a\x0d\xbc\xc0\xca\x69\x90\x23\x35\xa2\x25\x76\x47\xc3\xe9\xcc\xc8\x8a\xfb\xf5\x85\x46\x72\x62\xaf\x76\x91\x16\x08\x60\x5f\x4c\x71\xa8\xc7\xc7\xf7\xa8\xc9\x60\xf1\xfd\x7e\x49\x06\xef\x59\x91\xf1\x54\x41\x10\x08\x0d\xc1\xda\xa2\x6a\x08\x0a\xd9\x87\x1e\x1d\xc1\x9d\x74\xa6\xc2\xc0\x62\xe0\xd5\xba\xb8\x7b\x0d\x9d\xa9\xc8\x81\x18\x
 [...]
+                       compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x55\xc1\x8e\xdb\x36\x10\xbd\xeb\x2b\x06\xd2\x25\x29\xd6\x76\xd3\x53\xe1\x9e\xdc\xcd\x6e\x6b\x34\xb0\x81\xb5\xd3\x20\xc7\x11\x35\x96\xa6\x4b\x71\x58\x92\xb2\xe3\x7e\x7d\x41\x4a\x4e\xe4\xf5\x2e\x92\x00\x01\xec\x8b\xa9\xe1\xe8\xcd\x9b\xf7\x86\x54\x01\x93\x1f\xf7\xcb\x0a\x78\xc7\x8a\x8c\xa7\x0a\x82\x40\x68\x08\x16\x16\x55\x43\xb0\x91\x5d\x38\xa0\x23\xb8\x97\xce\x54\x18\x58\x0c\xbc\x5a\x6c\xee\x5f\x43\x67\x2a\x72\x20\x
 [...]
                },
                "/operator-service-account.yaml": &vfsgen۰CompressedFileInfo{
                        name:             "operator-service-account.yaml",
@@ -214,13 +214,6 @@ var assets = func() http.FileSystem {
 
                        compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\x9b\x40\x14\xbc\xef\xaf\x18\x99\x4b\x22\xf9\xa3\xed\xd1\x3d\xd1\xc4\x56\x51\x23\x5b\x0a\x4e\xa3\x1c\x9f\xe1\x19\x9e\x02\xfb\xe8\xee\x12\xe2\x7f\x5f\x2d\xb6\x9b\x44\xbd\x66\x6f\x88\x61\x3e\x76\x86\x04\xb3\xcf\x3b\x26\xc1\x9d\x14\x6c\x3d\x97\x08\x8a\x50\x33\xd2\x8e\x8a\x9a\x91\xeb\x21\x0c\xe4\x18\x6b\xed\x6d\x49\x41\xd4\xe2\x2a\xcd\xd7\xd7\xe8\x6d\xc9\x0e\x6a\x19\xea\xd0\xaa\x63\x93\xa0\x50\x1b\x9c\xec\x
 [...]
                },
-               "/operator.yaml": &vfsgen۰CompressedFileInfo{
-                       name:             "operator.yaml",
-                       modTime:          time.Time{},
-                       uncompressedSize: 2110,
-
-                       compressedContent: 
[]byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xbc\x54\xc1\x6e\xe3\x36\x10\xbd\xeb\x2b\x1e\xac\xcb\x2e\x10\xdb\xc9\x1e\xd5\x93\xea\x38\x88\xd1\x54\x32\x2c\x6f\x83\x3d\x15\x13\x6a\x24\x11\xa1\x48\x95\xa4\xa2\xd5\xdf\x17\x94\xed\xc4\xc9\x6e\xd3\x1e\x82\xf2\x24\x69\x66\xde\xbc\x37\xf3\xc4\x18\xf3\x8f\x3b\x51\x8c\x3b\x29\x58\x3b\x2e\xe1\x0d\x7c\xc3\x48\x3b\x12\x0d\xa3\x30\x95\x1f\xc8\x32\x6e\x4c\xaf\x4b\xf2\xd2\x68\x7c\x4a\x8b\x9b\xcf\xe8\x75\xc9\x16\x46\x33\x8c\x45\x
 [...]
-               },
                "/platform-cr.yaml": &vfsgen۰CompressedFileInfo{
                        name:             "platform-cr.yaml",
                        modTime:          time.Time{},
@@ -369,7 +362,6 @@ var assets = func() http.FileSystem {
                fs["/operator-role-olm.yaml"].(os.FileInfo),
                fs["/operator-role-openshift.yaml"].(os.FileInfo),
                fs["/operator-service-account.yaml"].(os.FileInfo),
-               fs["/operator.yaml"].(os.FileInfo),
                fs["/platform-cr.yaml"].(os.FileInfo),
                fs["/platform-integration-kit-groovy.yaml"].(os.FileInfo),
                fs["/platform-integration-kit-java.yaml"].(os.FileInfo),

Reply via email to