From 01984610f86ab07631bb4f573be7ebbb95d19031 Mon Sep 17 00:00:00 2001 From: nicolaferraro Date: Wed, 22 Dec 2021 12:39:47 +0100 Subject: [PATCH] Fix #1107: add missing operator role --- config/rbac/operator-role.yaml | 2 ++ helm/camel-k/templates/operator-role.yaml | 2 ++ pkg/resources/resources.go | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config/rbac/operator-role.yaml b/config/rbac/operator-role.yaml index 613ac5e4ea..0941d6ee29 100644 --- a/config/rbac/operator-role.yaml +++ b/config/rbac/operator-role.yaml @@ -52,8 +52,10 @@ rules: - camelcatalogs/status - integrationkits/status - integrationplatforms/status + - integrations/scale - integrations/status - kameletbindings/status + - kameletbindings/scale - kamelets/status verbs: - get diff --git a/helm/camel-k/templates/operator-role.yaml b/helm/camel-k/templates/operator-role.yaml index 3f207fe95e..d30c8ebbd8 100644 --- a/helm/camel-k/templates/operator-role.yaml +++ b/helm/camel-k/templates/operator-role.yaml @@ -53,8 +53,10 @@ rules: - camelcatalogs/status - integrationkits/status - integrationplatforms/status + - integrations/scale - integrations/status - kameletbindings/status + - kameletbindings/scale - kamelets/status verbs: - get diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go index 5d8301db09..e64bea23b5 100644 --- a/pkg/resources/resources.go +++ b/pkg/resources/resources.go @@ -385,9 +385,9 @@ var assets = func() http.FileSystem { "/rbac/operator-role.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role.yaml", modTime: time.Time{}, - uncompressedSize: 2879, + uncompressedSize: 2928, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\xc1\x6e\xdb\x46\x10\xbd\xf3\x2b\x06\xe2\x25\x01\x6c\xa9\xed\xa9\x50\x4f\x6a\x62\xb7\x42\x03\x09\x30\x95\x06\x39\x0e\x97\x23\x6a\xaa\xe5\xce\x76\x76\x69\x59\xfd\xfa\x62\x29\x2a\xa6\x4d\x2b\x28\x9a\xa0\x29\x2f\x5e\xee\x8e\xdf\xbc\xf7\xe6\xad\xcd\x1c\xae\xbf\xde\x93\xe5\xf0\x8e\x0d\xb9\x40\x15\x44\x81\xb8\x23\x58\x78\x34\x3b\x82\x42\xb6\xf1\x80\x4a\x70\x2b\xad\xab\x30\xb2\x38\x78\xb5\x28\x6e\x5f\x43\xeb\x2a\x52\x10\x47\x20\x0a\x8d\x28\x65\x39\x18\x71\x51\xb9\x6c\xa3\x28\xd8\x13\x20\x60\xad\x44\x0d\xb9\x18\xa6\x00\x05\x51\x87\xbe\x5a\x6f\x96\x6f\x6e\x60\xcb\x96\xa0\xe2\x70\xfa\x25\xaa\xe0\xc0\x71\x97\xe5\x10\x77\x1c\xe0\x20\xba\x87\xad\x28\x60\x55\x71\x6a\x8c\x16\xd8\x6d\x45\x9b\x13\x0d\xa5\x1a\xb5\x62\x57\x83\x11\x7f\x54\xae\x77\x11\xe4\xe0\x48\xc3\x8e\xfd\x34\xcb\x61\x93\x64\x14\xb7\x67\x26\xe1\x04\xdb\xf5\x8c\x02\x1f\xa5\xed\x35\x0c\xe4\xf6\x2e\x5c\xc1\xef\xa4\x21\x35\xf9\x61\xfa\x5d\x96\xc3\xab\x54\x32\xe9\x0f\x27\xaf\x7f\x82\xa3\xb4\xd0\xe0\x11\x9c\x44\x68\x03\x0d\x90\xe9\xc1\x90\x8f\xc0\x0e\x8c\x34\xde\x32\x3a\x43\x8f\xb2\x3e\x75\x98\x42\x47\x20\x61\x48\x19\x91\x1d\x60\x27\x03\x64\x3b\x2c\x03\x8c\x59\x9e\xe5\xd0\x3d\xbb\x18\xfd\x7c\x36\x3b\x1c\x0e\x53\xec\xe8\x4e\x45\xeb\xd9\x59\xdd\xec\xdd\xf2\xcd\xcd\xaa\xb8\xb9\xee\x28\x67\x39\xbc\x77\x96\x42\x00\xa5\x3f\x5b\x56\xaa\xa0\x3c\x02\x7a\x6f\xd9\x60\x69\x09\x2c\x1e\xd2\xe0\xba\xe9\x74\x43\x67\x07\x07\xe5\xc8\xae\xbe\x82\xd0\x4f\x3d\xcb\x9f\x4c\xe7\xd1\xae\x33\x3d\x0e\x4f\x0a\xc4\x01\x3a\x98\x2c\x0a\x58\x16\x13\xf8\x79\x51\x2c\x8b\xab\x2c\x87\x0f\xcb\xcd\xaf\xeb\xf7\x1b\xf8\xb0\xb8\xbb\x5b\xac\x36\xcb\x9b\x02\xd6\x77\xf0\x66\xbd\x7a\xbb\xdc\x2c\xd7\xab\x02\xd6\xb7\xb0\x58\x7d\x84\xdf\x96\xab\xb7\x57\x40\x1c\x77\xa4\x40\x0f\x5e\x13\x7f\x51\xe0\x64\x24\x55\x69\xa6\xe7\x00\x9d\x09\xa4\x7c\xa4\xf7\xe0\xc9\xf0\x96\x0d\x58\x74\x75\x8b\x35\x41\x2d\xf7\xa4\x2e\xc5\xc3\x93\x36\x1c\xd2\x38\x03\xa0\xab\xb2\x1c\x2c\x37\x1c\xbb\x14\x85\xb1\xa8\xd4\xe6\x6b\xde\xad\x6c\xcf\xae\x9a\xc3\x9d\x58\xca\xd0\x73\x9f\xac\x39\x68\x89\x66\x8a\x6d\xdc\x89\xf2\x5f\x1d\x99\xe9\xfe\xc7\x30\x65\x99\xdd\x7f\x9f\x35\x14\xb1\xc2\x88\xf3\x0c\xc0\x61\x43\x73\x30\xd8\x90\xbd\xde\x5f\x8b\x27\xc5\x28\x9a\x01\x58\x2c\xc9\x86\x54\x02\x69\xb4\x73\x98\xf4\x45\x93\x4c\x5b\x4b\x61\x9e\x5d\x03\x7a\xfe\x45\xa5\xf5\x5d\xd9\xf5\x09\x65\x10\x9f\x0c\x40\x29\x48\xab\x86\xfa\x8a\xb2\x65\x5b\x85\xc7\x62\x83\x11\xad\xd4\xa7\x1d\x76\x91\x6a\xed\xc8\xee\x39\x8e\xf6\xbc\xc5\x98\x2e\xe8\xe8\xe0\xb4\xb1\x4f\x78\x14\x4b\x76\xe9\xda\x3e\xd9\x4b\x2f\xf7\xa4\xe5\x99\xa6\x12\x46\xea\x96\x35\xc5\xee\xa7\xe5\x70\x5a\x78\x8c\x66\xd7\xad\x5a\x5f\x9d\xab\x0e\xdd\xe6\x97\xc8\x1d\x74\xaf\x12\x23\xfa\xf7\x68\xb3\x10\x31\xb6\x2f\x78\x38\x3c\x78\x66\xe5\x85\xa3\x4f\x8e\x5e\x38\x7f\xb2\xff\xcc\xdf\x17\x8e\x06\x7b\x03\xbd\x67\x8b\x47\xce\x8e\x1c\x98\x4c\xc6\x9a\xbd\xf4\x71\x09\xa4\xf7\x6c\xe8\xf4\x42\xae\xf2\xc2\xae\xcf\x88\x4f\xa1\x0f\x91\x5c\xbc\x17\xdb\x36\x64\x2c\x72\x9f\x12\x23\x6e\xcb\x75\x83\xfe\x0c\x62\x94\xe2\x13\x40\x34\x46\x5a\xf7\x99\x88\xf4\xf3\x7a\x5c\x1a\xb1\x96\x4c\xf2\xe7\xcb\x23\x74\x49\xf2\x8c\x1e\xc8\xbc\x48\xe9\x9f\x43\x78\x95\x87\xe3\x78\x16\x23\x00\x2f\x96\xcd\xf1\x45\x90\x8a\x83\xb6\x3e\x49\x2d\xdb\xaa\xfe\xdc\x45\x1a\xb8\x74\x36\x64\xa0\xfe\x05\x6f\x2e\x18\x72\xf1\xef\xd6\x98\x9f\x8a\xed\xe3\x90\x56\x83\x7b\xff\x0d\xe6\x88\xbe\x4b\xd8\x33\x86\x15\x79\x2b\xc7\xee\xf3\xe4\xdb\xd0\x2a\xfb\xda\x67\xbc\x8c\x8a\xfb\x43\xca\xff\x17\xa9\x31\xa1\x51\x97\x0b\x80\x8e\x62\xfa\x9c\x63\x57\x5f\xcc\x0a\xbb\x3a\xfd\xbf\xa7\xff\x46\xf2\xdf\x01\x00\x00\xff\xff\x38\xef\x94\x82\x3f\x0b\x00\x00"), + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\xc1\x6e\xe3\x36\x10\xbd\xeb\x2b\x06\xd6\x65\x17\x88\xed\xb6\xa7\xc2\x3d\xb9\xbb\x49\x6b\x74\x61\x03\x91\xb7\x8b\x3d\x8e\xc8\xb1\x3c\x35\xc5\x61\x49\x2a\x8e\xfb\xf5\x05\x65\x29\x76\x22\x3b\x28\xba\x8b\x6e\x7d\x09\x45\x4e\xde\xbc\x79\xef\x51\x50\x0e\xe3\xaf\xf7\xcb\x72\xf8\xc0\x8a\x6c\x20\x0d\x51\x20\x6e\x09\xe6\x0e\xd5\x96\xa0\x90\x4d\xdc\xa3\x27\xb8\x93\xc6\x6a\x8c\x2c\x16\xde\xcc\x8b\xbb\xb7\xd0\x58\x4d\x1e\xc4\x12\x88\x87\x5a\x3c\x65\x39\x28\xb1\xd1\x73\xd9\x44\xf1\x60\x8e\x80\x80\x95\x27\xaa\xc9\xc6\x30\x01\x28\x88\x5a\xf4\xe5\x6a\xbd\x78\x77\x0b\x1b\x36\x04\x9a\xc3\xf1\x9f\x48\xc3\x9e\xe3\x36\xcb\x21\x6e\x39\xc0\x5e\xfc\x0e\x36\xe2\x01\xb5\xe6\xd4\x18\x0d\xb0\xdd\x88\xaf\x8f\x34\x3c\x55\xe8\x35\xdb\x0a\x94\xb8\x83\xe7\x6a\x1b\x41\xf6\x96\x7c\xd8\xb2\x9b\x64\x39\xac\xd3\x18\xc5\x5d\xcf\x24\x1c\x61\xdb\x9e\x51\xe0\xb3\x34\xdd\x0c\x67\xe3\x76\x2a\xdc\xc0\xef\xe4\x43\x6a\xf2\xc3\xe4\xbb\x2c\x87\x37\xa9\x64\xd4\x1d\x8e\xde\xfe\x04\x07\x69\xa0\xc6\x03\x58\x89\xd0\x04\x3a\x43\xa6\x47\x45\x2e\x02\x5b\x50\x52\x3b\xc3\x68\x15\x9d\xc6\x7a\xea\x30\x81\x96\x40\xc2\x90\x32\x22\x5b\xc0\x76\x0c\x90\xcd\x79\x19\x60\xcc\xf2\x2c\x87\xf6\xb7\x8d\xd1\xcd\xa6\xd3\xfd\x7e\x3f\xc1\x96\xee\x44\x7c\x35\xed\xa7\x9b\x7e\x58\xbc\xbb\x5d\x16\xb7\xe3\x96\x72\x96\xc3\x47\x6b\x28\x04\xf0\xf4\x67\xc3\x9e\x34\x94\x07\x40\xe7\x0c\x2b\x2c\x0d\x81\xc1\x7d\x32\xae\x75\xa7\x35\x9d\x2d\xec\x3d\x47\xb6\xd5\x0d\x84\xce\xf5\x2c\x7f\xe6\xce\x49\xae\x9e\x1e\x87\x67\x05\x62\x01\x2d\x8c\xe6\x05\x2c\x8a\x11\xfc\x3c\x2f\x16\xc5\x4d\x96\xc3\xa7\xc5\xfa\xd7\xd5\xc7\x35\x7c\x9a\xdf\xdf\xcf\x97\xeb\xc5\x6d\x01\xab\x7b\x78\xb7\x5a\xbe\x5f\xac\x17\xab\x65\x01\xab\x3b\x98\x2f\x3f\xc3\x6f\x8b\xe5\xfb\x1b\x20\x8e\x5b\xf2\x40\x8f\xce\x27\xfe\xe2\x81\x93\x90\xa4\x93\xa7\x7d\x80\x7a\x02\x29\x1f\xe9\x39\x38\x52\xbc\x61\x05\x06\x6d\xd5\x60\x45\x50\xc9\x03\x79\x9b\xe2\xe1\xc8\xd7\x1c\x92\x9d\x01\xd0\xea\x2c\x07\xc3\x35\xc7\x36\x45\x61\x38\x54\x6a\xf3\x35\xef\x56\xb6\x63\xab\x67\x70\x2f\x86\x32\x74\xdc\x25\x6b\x06\xbe\x44\x35\xc1\x26\x6e\xc5\xf3\x5f\x2d\x99\xc9\xee\xc7\x30\x61\x99\x3e\x7c\x9f\xd5\x14\x51\x63\xc4\x59\x06\x60\xb1\xa6\x19\x28\xac\xc9\x8c\x77\x63\x71\xe4\x31\x8a\xcf\x00\x0c\x96\x64\x42\x2a\x81\x64\xed\x0c\x46\x5d\xd1\x28\xf3\x8d\xa1\x30\xcb\xc6\x80\x8e\x7f\xf1\xd2\xb8\xb6\x6c\x7c\x44\x39\x8b\x4f\x06\xe0\x29\x48\xe3\x15\x75\x15\x65\xc3\x46\x87\x53\xb1\xc2\x88\x46\xaa\xe3\x0e\xdb\x48\x95\x6f\xc9\xee\x38\x0e\xf6\x9c\xc1\x98\x2e\xe8\xe0\xe0\xb8\xb1\x4b\x78\x14\x4b\xb6\xe9\xda\x3e\xdb\x4b\x0f\x0f\xe4\xcb\x9e\xa6\x27\x8c\xd4\x2e\x2b\x8a\xed\x5f\xc3\xe1\xb8\x70\x18\xd5\xb6\x5d\x35\x4e\xf7\x55\xfb\x76\xf3\x4b\xc6\x3d\xeb\xae\x13\x23\xfa\xf7\x68\xd3\x10\x31\x36\x17\x34\x3c\x3f\x78\x21\xe5\x95\xa3\x27\x45\xaf\x9c\x87\x69\x50\x68\xe8\xc2\xf6\xa9\xfc\x85\xec\xaf\x1e\x3d\x81\xf5\xbe\x9c\xaa\xcf\x04\xea\x3d\x19\x58\x31\x90\x6c\x34\x1a\x8a\xe4\xa4\xcb\x57\x20\xff\xc0\x8a\x8e\x0f\x64\xb5\x13\xb6\x5d\xa8\x5c\xba\x25\x21\x92\x8d\x0f\x62\x9a\x9a\x94\x41\xee\x62\xa5\xc4\x6e\xb8\xaa\xd1\xf5\x20\xca\x53\x7c\x06\x88\x4a\x49\x63\x5f\xc9\x54\x67\xf0\x69\xa9\xc4\x18\x52\x49\xb9\x2f\xcf\xdc\xb5\x91\xa7\xf4\x48\xea\x22\xa5\x7f\x0e\xe1\xbc\x3c\x1e\x86\x5e\x0c\x00\x9c\x18\x56\x87\x8b\x20\x9a\x83\x6f\x5c\x1a\xb5\x6c\x74\xf5\xda\xcd\x3b\x53\xa9\x17\xe4\x6c\xfa\x0b\xda\x5c\x11\xe4\xea\x8b\x6e\xc8\xcf\x8b\xe9\xe2\x90\x56\x67\x2f\x8a\x6f\xe0\x23\xba\x36\x61\x2f\x18\x6a\x72\x46\x0e\xed\xf7\xcc\xb7\xa1\x55\x76\xb5\x2f\x78\x29\x2f\xf6\x0f\x29\xff\x5f\xa4\x86\x84\x06\x5d\xae\x00\x5a\x8a\xe9\xfb\x8f\x6d\x75\x35\x2b\x6c\xab\xf4\x81\x40\xff\xcd\xc8\x7f\x07\x00\x00\xff\xff\x96\x37\xbc\xf3\x70\x0b\x00\x00"), }, "/rbac/patch-role-to-clusterrole.yaml": &vfsgen۰CompressedFileInfo{ name: "patch-role-to-clusterrole.yaml",