This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit d36f4d076298ef6d57b566edfabff1a056df1bba Author: John Poth <[email protected]> AuthorDate: Tue Feb 9 13:24:00 2021 +0100 Update service-binding RBAC resources to new layout (#1445) --- .../rbac}/operator-role-binding-service-binding.yaml | 0 .../rbac}/operator-role-service-binding.yaml | 0 pkg/install/operator.go | 4 ++-- pkg/resources/resources.go | 16 ++++++++++++++++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/deploy/operator-role-binding-service-binding.yaml b/config/rbac/operator-role-binding-service-binding.yaml similarity index 100% rename from deploy/operator-role-binding-service-binding.yaml rename to config/rbac/operator-role-binding-service-binding.yaml diff --git a/deploy/operator-role-service-binding.yaml b/config/rbac/operator-role-service-binding.yaml similarity index 100% rename from deploy/operator-role-service-binding.yaml rename to config/rbac/operator-role-service-binding.yaml diff --git a/pkg/install/operator.go b/pkg/install/operator.go index 0d73f66..e62807e 100644 --- a/pkg/install/operator.go +++ b/pkg/install/operator.go @@ -281,8 +281,8 @@ func installLeaseBindings(ctx context.Context, c client.Client, namespace string func installServiceBindings(ctx context.Context, c client.Client, namespace string, customizer ResourceCustomizer, collection *kubernetes.Collection, force bool) error { return ResourcesOrCollect(ctx, c, namespace, collection, force, customizer, - "operator-role-service-binding.yaml", - "operator-role-binding-service-binding.yaml", + "/rbac/operator-role-service-binding.yaml", + "/rbac/operator-role-binding-service-binding.yaml", ) } diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go index a313d1c..437d3a7 100644 --- a/pkg/resources/resources.go +++ b/pkg/resources/resources.go @@ -239,6 +239,13 @@ var assets = func() http.FileSystem { compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x93\x41\x8f\xdb\x36\x10\x85\xef\xfc\x15\x0f\xd6\x25\x01\xd6\x72\xdb\x53\xe1\x9e\x9c\xcd\x6e\x2b\x34\xb0\x01\xcb\x69\x90\xe3\x98\x1a\x4b\xd3\xa5\x38\x2a\x49\xad\xe2\xfe\xfa\x82\xb2\xdd\xdd\xa0\x68\xd1\x43\x78\x13\x34\x7a\xf3\x3d\xbe\xa7\x02\xcb\x6f\x77\x4c\x81\x0f\x62\xd9\x47\x6e\x90\x14\xa9\x63\x6c\x06\xb2\x1d\xa3\xd6\x53\x9a\x28\x30\x1e\x75\xf4\x0d\x25\x51\x8f\x37\x9b\xfa\xf1\x2d\x46\xdf\x70\x80\x7a\x86\x06\xf4\x [...] }, + "/rbac/operator-role-binding-service-binding.yaml": &vfsgen۰CompressedFileInfo{ + name: "operator-role-binding-service-binding.yaml", + modTime: time.Time{}, + uncompressedSize: 1237, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\xcf\x6f\xf2\x46\x10\xbd\xef\x5f\xf1\x84\x2f\xdf\x27\x81\x69\x7b\xaa\xe8\xc9\x5f\x02\xad\xd5\x08\x24\x4c\x1a\xe5\xb8\x5e\x0f\xf6\x14\x7b\xc7\xdd\x5d\xc7\xa1\x7f\x7d\xb5\x06\x9a\x44\x55\x2b\x55\xca\xde\x10\x33\xef\xc7\xbc\xe7\x04\x8b\xcf\x7b\x2a\xc1\x03\x1b\xb2\x9e\x2a\x04\x41\x68\x08\x59\xaf\x4d\x43\x28\xe4\x18\x46\xed\x08\x1b\x19\x6c\xa5\x03\x8b\xc5\x97\xac\xd8\x7c\xc5\x60\x2b\x72\x10\x4b\x10\x87\x4e\x1c\xa9\x [...] + }, "/rbac/operator-role-binding-servicemonitors.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-binding-servicemonitors.yaml", modTime: time.Time{}, @@ -309,6 +316,13 @@ var assets = func() http.FileSystem { compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\xc1\x8e\xdb\x36\x10\xbd\xeb\x2b\x06\xd2\x25\x29\xd6\x76\xdb\x53\xe1\x9e\xdc\x64\xb7\x35\x1a\xd8\xc0\xda\x69\x90\xe3\x88\x1a\x4b\xd3\xa5\x38\x2c\x49\xd9\x71\xbf\xbe\x20\x25\x27\xf2\x6a\x17\x49\x81\x00\xeb\x8b\x47\xc3\xd1\x9b\x37\xf3\x9e\x58\xc0\xec\xfb\xfd\xb2\x02\xde\xb1\x22\xe3\xa9\x82\x20\x10\x1a\x82\x95\x45\xd5\x10\xec\xe4\x10\x4e\xe8\x08\xee\xa4\x33\x15\x06\x16\x03\xaf\x56\xbb\xbb\xd7\xd0\x99\x8a\x1c\x88\x [...] }, + "/rbac/operator-role-service-binding.yaml": &vfsgen۰CompressedFileInfo{ + name: "operator-role-service-binding.yaml", + modTime: time.Time{}, + uncompressedSize: 1253, + + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x6f\xdc\x36\x10\xbd\xf3\x57\x3c\xac\x2e\x09\x60\xc9\x6d\x4f\xc5\xf6\xb4\x75\xec\x56\x68\xb0\x0b\x58\x9b\x06\x39\x72\xa9\x59\x69\x60\x8a\xa3\x0e\x29\x2b\xee\xaf\x2f\xa8\xd5\x26\x36\x7a\x8d\x2e\x1a\x89\xc3\xf7\xc1\x37\x2c\x50\xfe\xb8\xc7\x14\xf8\xc8\x8e\x42\xa4\x16\x49\x90\x7a\xc2\x6e\xb4\xae\x27\x34\x72\x4e\xb3\x55\xc2\x83\x4c\xa1\xb5\x89\x25\xe0\xdd\xae\x79\x78\x8f\x29\xb4\xa4\x90\x40\x10\xc5\x20\x4a\xa6\x [...] + }, "/rbac/operator-role-servicemonitors.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-servicemonitors.yaml", modTime: time.Time{}, @@ -530,6 +544,7 @@ var assets = func() http.FileSystem { fs["/rbac/operator-role-binding-events.yaml"].(os.FileInfo), fs["/rbac/operator-role-binding-knative.yaml"].(os.FileInfo), fs["/rbac/operator-role-binding-leases.yaml"].(os.FileInfo), + fs["/rbac/operator-role-binding-service-binding.yaml"].(os.FileInfo), fs["/rbac/operator-role-binding-servicemonitors.yaml"].(os.FileInfo), fs["/rbac/operator-role-binding-strimzi.yaml"].(os.FileInfo), fs["/rbac/operator-role-binding.yaml"].(os.FileInfo), @@ -540,6 +555,7 @@ var assets = func() http.FileSystem { fs["/rbac/operator-role-olm-cluster.yaml"].(os.FileInfo), fs["/rbac/operator-role-olm.yaml"].(os.FileInfo), fs["/rbac/operator-role-openshift.yaml"].(os.FileInfo), + fs["/rbac/operator-role-service-binding.yaml"].(os.FileInfo), fs["/rbac/operator-role-servicemonitors.yaml"].(os.FileInfo), fs["/rbac/operator-role-strimzi.yaml"].(os.FileInfo), fs["/rbac/user-cluster-role.yaml"].(os.FileInfo),
