diff --git a/config/rbac/operator-role-binding-knative-eventing-webhook.yaml b/config/rbac/operator-role-binding-knative-eventing-webhook.yaml index b1acc3707d..bc7dcbcc93 100644 --- a/config/rbac/operator-role-binding-knative-eventing-webhook.yaml +++ b/config/rbac/operator-role-binding-knative-eventing-webhook.yaml @@ -17,7 +17,7 @@ kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: - name: camel-k-operator-knative-eventing + name: camel-k-operator-knative-eventing-webhook namespace: knative-eventing labels: app: "camel-k" @@ -27,5 +27,5 @@ subjects: namespace: placeholder roleRef: kind: Role - name: camel-k-operator-knative-eventing + name: camel-k-operator-knative-eventing-webhook apiGroup: rbac.authorization.k8s.io diff --git a/config/rbac/operator-role-knative-eventing-webhook.yaml b/config/rbac/operator-role-knative-eventing-webhook.yaml index a3792b208f..bfc0bccf0a 100644 --- a/config/rbac/operator-role-knative-eventing-webhook.yaml +++ b/config/rbac/operator-role-knative-eventing-webhook.yaml @@ -21,7 +21,7 @@ kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: namespace: knative-eventing - name: camel-k-operator-knative-eventing + name: camel-k-operator-knative-eventing-webhook labels: app: "camel-k" rules: diff --git a/config/rbac/operator-role.yaml b/config/rbac/operator-role.yaml index e41b599187..0e887a1989 100644 --- a/config/rbac/operator-role.yaml +++ b/config/rbac/operator-role.yaml @@ -110,6 +110,7 @@ rules: resources: - roles - rolebindings + - clusterrolebindings verbs: - create - delete diff --git a/pkg/install/knative.go b/pkg/install/knative.go index 334661d77c..5de49ab2be 100644 --- a/pkg/install/knative.go +++ b/pkg/install/knative.go @@ -48,6 +48,7 @@ func BindKnativeAddressableResolverClusterRole(ctx context.Context, c kubernetes func applyAddressableResolverRoleBinding(ctx context.Context, c kubernetes.Interface, namespace string, operatorNamespace string) error { rb := rbacv1ac.RoleBinding(fmt.Sprintf("%s-addressable-resolver", serviceAccountName), namespace). + WithLabels(map[string]string{"app": "camel-k"}). WithSubjects( rbacv1ac.Subject(). WithKind("ServiceAccount"). @@ -59,7 +60,6 @@ func applyAddressableResolverRoleBinding(ctx context.Context, c kubernetes.Inter WithKind("ClusterRole"). WithName(knativeAddressableResolverClusterRoleName)) - rb.WithLabels(map[string]string{"app":"camel-k"}) _, err := c.RbacV1().RoleBindings(namespace). Apply(ctx, rb, metav1.ApplyOptions{FieldManager: serviceAccountName, Force: true}) @@ -68,6 +68,7 @@ func applyAddressableResolverRoleBinding(ctx context.Context, c kubernetes.Inter func applyAddressableResolverClusterRoleBinding(ctx context.Context, c kubernetes.Interface, operatorNamespace string) error { crb := rbacv1ac.ClusterRoleBinding(fmt.Sprintf("%s-addressable-resolver", serviceAccountName)). + WithLabels(map[string]string{"app": "camel-k"}). WithSubjects( rbacv1ac.Subject(). WithKind("ServiceAccount"). @@ -79,7 +80,6 @@ func applyAddressableResolverClusterRoleBinding(ctx context.Context, c kubernete WithKind("ClusterRole"). WithName(knativeAddressableResolverClusterRoleName)) - crb.WithLabels(map[string]string{"app":"camel-k"}) _, err := c.RbacV1().ClusterRoleBindings(). Apply(ctx, crb, metav1.ApplyOptions{FieldManager: serviceAccountName, Force: true}) diff --git a/pkg/install/operator.go b/pkg/install/operator.go index 63ab009baa..86716a8198 100644 --- a/pkg/install/operator.go +++ b/pkg/install/operator.go @@ -251,7 +251,9 @@ func OperatorOrCollect(ctx context.Context, c client.Client, cfg OperatorConfigu return err } if err = installNamespacedRoleBinding(ctx, c, collection, cfg.Namespace, "/rbac/operator-role-binding-knative-eventing-webhook.yaml"); err != nil { - fmt.Printf("Warning: the operator won't be able to detect Knative settings from knative-eventing namespace. Error: %s\n", errors.Cause(err)) + if !k8serrors.IsAlreadyExists(err) { + fmt.Printf("Warning: the operator won't be able to detect Knative settings from knative-eventing namespace. Error: %s\n", errors.Cause(err)) + } } if err := installClusterRoleBinding(ctx, c, collection, cfg.Namespace, "camel-k-operator-bind-addressable-resolver", "/rbac/operator-cluster-role-binding-addressable-resolver.yaml"); err != nil { if k8serrors.IsForbidden(err) { @@ -362,7 +364,6 @@ func installNamespacedRoleBinding(ctx context.Context, c client.Client, collecti return c.Create(ctx, target) } - func installClusterRoleBinding(ctx context.Context, c client.Client, collection *kubernetes.Collection, namespace string, name string, path string) error { var target *rbacv1.ClusterRoleBinding existing, err := c.RbacV1().ClusterRoleBindings().Get(ctx, name, metav1.GetOptions{}) @@ -399,7 +400,7 @@ func installClusterRoleBinding(ctx context.Context, c client.Client, collection bound = true break - } else if subject.Namespace == "" { + } else if subject.Namespace == "" || subject.Namespace == "placeholder" { target.Subjects[i].Namespace = namespace bound = true diff --git a/pkg/resources/resources.go b/pkg/resources/resources.go index 9fa6c7d96f..b1a673fdbf 100644 --- a/pkg/resources/resources.go +++ b/pkg/resources/resources.go @@ -329,9 +329,9 @@ var assets = func() http.FileSystem { "/rbac/operator-role-binding-knative-eventing-webhook.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-binding-knative-eventing-webhook.yaml", modTime: time.Time{}, - uncompressedSize: 1299, + uncompressedSize: 1315, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xeb\x57\x3c\x58\x97\x04\x58\xdb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x63\x6a\x2c\x4d\x4d\x71\x58\x92\xb2\xb2\xfd\xf5\x05\x65\x3b\xbb\x41\x83\x02\x05\x56\x37\x63\x86\xef\x63\xde\x73\x89\xf9\xeb\x7d\x45\x89\x0f\x62\xd8\x45\x6e\x90\x14\xa9\x63\xac\x3d\x99\x8e\x51\xeb\x31\x8d\x14\x18\x8f\x3a\xb8\x86\x92\xa8\xc3\x9b\x75\xfd\xf8\x16\x83\x6b\x38\x40\x1d\x43\x03\x7a\x0d\x5c\x94\x30\xea\x52\x90\xc3\x90\x34\xc0\x5e\x00\x41\x6d\x60\xee\xd9\xa5\xb8\x00\x6a\xe6\x09\x7d\xb3\xdd\x57\xf7\x0f\x38\x8a\x65\x34\x12\x2f\x8f\xb8\xc1\x28\xa9\x2b\x4a\xa4\x4e\x22\x46\x0d\x27\x1c\x35\x80\x9a\x46\x32\x31\x59\x88\x3b\x6a\xe8\x2f\x32\x02\xb7\x14\x1a\x71\x2d\x8c\xfa\xa7\x20\x6d\x97\xa0\xa3\xe3\x10\x3b\xf1\x8b\xa2\xc4\x3e\xdb\xa8\x1f\x6f\x4a\xe2\x05\x76\xe2\x4c\x8a\xcf\x3a\x5c\x3d\xbc\xb0\x7b\xbd\xc2\x1d\xfe\xe0\x10\x33\xc9\x4f\x8b\x1f\x8a\x12\x6f\xf2\xca\xec\x3a\x9c\xbd\xfd\x05\x4f\x3a\xa0\xa7\x27\x38\x4d\x18\x22\xbf\x40\xe6\x2f\x86\x7d\x82\x38\x18\xed\xbd\x15\x72\x86\x9f\x6d\x7d\x65\x58\x60\x12\x90\x31\xf4\x90\x48\x1c\x68\xb2\x01\x3d\xbe\x5c\x03\xa5\xa2\x2c\x4a\x4c\x5f\x97\x92\x5f\x2d\x97\xe3\x38\x2e\x68\x92\xbb\xd0\xd0\x2e\x6f\xee\x96\x1f\xaa\xfb\x87\x4d\xfd\x30\x9f\x24\x17\x25\x3e\x3a\xcb\x31\x22\xf0\x5f\x83\x04\x6e\x70\x78\x02\x79\x6f\xc5\xd0\xc1\x32\x2c\x8d\x39\xb8\x29\x9d\x29\x74\x71\x18\x83\x24\x71\xed\x1d\xe2\x35\xf5\xa2\xfc\x26\x9d\xe7\x73\xdd\xe4\x49\xfc\x66\x41\x1d\xc8\x61\xb6\xae\x51\xd5\x33\xbc\x5b\xd7\x55\x7d\x57\x94\xf8\x54\xed\x7f\xdb\x7e\xdc\xe3\xd3\x7a\xb7\x5b\x6f\xf6\xd5\x43\x8d\xed\x0e\xf7\xdb\xcd\xfb\x6a\x5f\x6d\x37\x35\xb6\x8f\x58\x6f\x3e\xe3\xf7\x6a\xf3\xfe\x0e\x2c\xa9\xe3\x00\xfe\xe2\x43\xd6\xaf\x01\x92\x0f\xc9\x4d\xce\xf4\x56\xa0\x9b\x80\xdc\x8f\xfc\x3b\x7a\x36\x72\x14\x03\x4b\xae\x1d\xa8\x65\xb4\x7a\xe6\xe0\x72\x3d\x3c\x87\x5e\x62\x8e\x33\x82\x5c\x53\x94\xb0\xd2\x4b\x9a\x5a\x14\xff\x6d\x2a\xd3\xbc\xe6\x7f\xeb\x24\xae\x59\x61\xa7\x96\xdf\x89\xcb\x7d\x2d\xc8\xcb\xb5\x5f\x2b\x84\x03\x99\x05\x0d\xa9\xd3\x20\x7f\x4f\x92\x16\xa7\x9f\xe3\x42\x74\x79\xfe\xb1\xe8\x39\x51\x43\x89\x56\x05\xe0\xa8\xe7\x15\x0c\xf5\x6c\xe7\xa7\xb9\x7a\x0e\x94\x34\xcc\x4f\x8e\x92\x9c\x79\xce\x67\x76\x39\xbc\xeb\x66\xf4\x64\x78\x85\xef\x4c\x2d\x1d\xd8\xc6\x8c\x88\xdc\x87\x15\x66\x57\xcc\x59\x11\x87\xc3\x9f\x6c\xd2\x34\x9c\xe3\xa2\xbb\xe6\x70\x16\xc3\x6b\x63\x74\x70\x69\x7a\xf5\x7d\x25\x5f\x47\x57\x6a\x6f\xc9\x70\xa7\xb6\xe1\x50\x04\xb5\xbc\xe3\x63\xc6\x7d\xbe\xc6\xff\xf2\x44\x5e\x7e\x0d\x3a\xf8\xff\x38\x58\xf1\x4f\x00\x00\x00\xff\xff\xc2\x87\x0a\x2a\x13\x05\x00\x00"), + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x53\x4d\x8f\xdb\x36\x10\xbd\xf3\x57\x3c\x58\x97\x04\x58\xdb\x6d\x4f\x85\x7b\x72\x36\xbb\xad\xd0\xc0\x06\x2c\xa7\x41\x8e\x63\x6a\x2c\x4d\x2d\x71\x58\x92\xb2\xb2\xfd\xf5\x05\x65\x3b\xbb\x69\x8b\x1e\x8a\xe5\x4d\xe0\xf0\x7d\xcc\x7b\x2a\x30\x7f\xbd\x63\x0a\x7c\x10\xcb\x2e\x72\x8d\xa4\x48\x2d\x63\xed\xc9\xb6\x8c\x4a\x8f\x69\xa4\xc0\x78\xd4\xc1\xd5\x94\x44\x1d\xde\xac\xab\xc7\xb7\x18\x5c\xcd\x01\xea\x18\x1a\xd0\x6b\x60\x53\xc0\xaa\x4b\x41\x0e\x43\xd2\x80\xee\x02\x08\x6a\x02\x73\xcf\x2e\xc5\x05\x50\x31\x4f\xe8\x9b\xed\xbe\xbc\x7f\xc0\x51\x3a\x46\x2d\xf1\xf2\x88\x6b\x8c\x92\x5a\x53\x20\xb5\x12\x31\x6a\x38\xe1\xa8\x01\x54\xd7\x92\x89\xa9\x83\xb8\xa3\x86\xfe\x22\x23\x70\x43\xa1\x16\xd7\xc0\xaa\x7f\x0a\xd2\xb4\x09\x3a\x3a\x0e\xb1\x15\xbf\x30\x05\xf6\xd9\x46\xf5\x78\x53\x12\x2f\xb0\x13\x67\x52\x7c\xd6\xe1\xea\xe1\x85\xdd\xeb\x16\xee\xf0\x1b\x87\x98\x49\x7e\x58\x7c\x67\x0a\xbc\xc9\x23\xb3\xeb\xe5\xec\xed\x4f\x78\xd2\x01\x3d\x3d\xc1\x69\xc2\x10\xf9\x05\x32\x7f\xb1\xec\x13\xc4\xc1\x6a\xef\x3b\x21\x67\xf9\xd9\xd6\x57\x86\x05\x26\x01\x19\x43\x0f\x89\xc4\x81\x26\x1b\xd0\xe3\xcb\x31\x50\x32\x85\x29\x30\x9d\x36\x25\xbf\x5a\x2e\xc7\x71\x5c\xd0\x24\x77\xa1\xa1\x59\xde\xdc\x2d\x3f\x94\xf7\x0f\x9b\xea\x61\x3e\x49\x36\x05\x3e\xba\x8e\x63\x44\xe0\x3f\x06\x09\x5c\xe3\xf0\x04\xf2\xbe\x13\x4b\x87\x8e\xd1\xd1\x98\x83\x9b\xd2\x99\x42\x17\x87\x31\x48\x12\xd7\xdc\x21\x5e\x53\x37\xc5\x37\xe9\x3c\xaf\xeb\x26\x4f\xe2\x37\x03\xea\x40\x0e\xb3\x75\x85\xb2\x9a\xe1\xdd\xba\x2a\xab\x3b\x53\xe0\x53\xb9\xff\x65\xfb\x71\x8f\x4f\xeb\xdd\x6e\xbd\xd9\x97\x0f\x15\xb6\x3b\xdc\x6f\x37\xef\xcb\x7d\xb9\xdd\x54\xd8\x3e\x62\xbd\xf9\x8c\x5f\xcb\xcd\xfb\x3b\xb0\xa4\x96\x03\xf8\x8b\x0f\x59\xbf\x06\x48\x5e\x24\xd7\x39\xd3\x5b\x81\x6e\x02\x72\x3f\xf2\x77\xf4\x6c\xe5\x28\x16\x1d\xb9\x66\xa0\x86\xd1\xe8\x99\x83\xcb\xf5\xf0\x1c\x7a\x89\x39\xce\x08\x72\xb5\x29\xd0\x49\x2f\x69\x6a\x51\xfc\xa7\xa9\x4c\xf3\x9a\xff\xd6\x49\x5c\xbd\xc2\x4e\x3b\x7e\x27\x2e\xf7\xd5\x90\x97\x6b\xbf\x56\x08\x07\xb2\x0b\x1a\x52\xab\x41\xfe\x9c\x24\x2d\x4e\x3f\xc6\x85\xe8\xf2\xfc\xbd\xe9\x39\x51\x4d\x89\x56\x06\x70\xd4\xf3\x0a\x96\x7a\xee\xe6\xa7\xb9\x7a\x0e\x94\x34\xcc\x4f\x8e\x92\x9c\x79\xce\x67\x76\x39\xbc\xf9\xc8\x87\x56\xf5\x74\x7d\x11\x3d\x59\x5e\xe1\xef\x53\x06\xe8\xe8\xc0\x5d\xcc\xc8\xc8\xbd\x58\x61\x76\xc5\x9e\x99\x38\x1c\x7e\x67\x9b\xa6\xcb\x39\x2e\xfa\x2b\x0e\x67\xb1\xbc\xb6\x56\x07\x97\xa6\x57\xff\xae\xe8\xeb\xd5\x95\xda\x77\x64\xb9\xd5\xae\xe6\x60\x82\x76\xbc\xe3\x63\xc6\x7d\xde\xca\xff\xf2\x46\x5e\x7e\x0e\x3a\xf8\xff\x58\xa0\xf9\x2b\x00\x00\xff\xff\x99\xf7\x07\x76\x23\x05\x00\x00"), }, "/rbac/operator-role-binding-knative.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-binding-knative.yaml", @@ -385,9 +385,9 @@ var assets = func() http.FileSystem { "/rbac/operator-role-knative-eventing-webhook.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-knative-eventing-webhook.yaml", modTime: time.Time{}, - uncompressedSize: 1479, + uncompressedSize: 1487, - compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\xcd\x8e\xa3\x46\x10\xbe\xf7\x53\x7c\x32\x97\x5d\x69\x6c\x27\x39\x45\xce\xc9\x3b\xe3\xd9\xa0\x9d\x60\x69\xf0\x66\xb5\xa7\x51\x03\x65\x28\xb9\xe9\x22\xdd\x8d\x59\xe7\xe9\xa3\xc6\x78\x7e\xe2\xe4\x36\x5c\x0c\xee\xa2\xbe\xbf\x2a\x12\xcc\xdf\xef\x52\x09\x1e\xb8\x24\xeb\xa9\x42\x10\x84\x86\xb0\xee\x74\xd9\x10\x72\xd9\x87\x41\x3b\xc2\xbd\xf4\xb6\xd2\x81\xc5\xe2\xc3\x3a\xbf\xff\x88\xde\x56\xe4\x20\x96\x20\x0e\xad\x38\x52\x09\x4a\xb1\xc1\x71\xd1\x07\x71\x30\xe7\x86\xd0\xb5\x23\x6a\xc9\x06\xbf\x00\x72\xa2\xb1\x7b\xb6\xdd\xa5\xb7\x1b\xec\xd9\x10\x2a\xf6\xe7\x97\xa8\xc2\xc0\xa1\x51\x09\x42\xc3\x1e\x83\xb8\x03\xf6\xe2\xa0\xab\x8a\x23\xb0\x36\x60\xbb\x17\xd7\x9e\x69\x38\xaa\xb5\xab\xd8\xd6\x28\xa5\x3b\x39\xae\x9b\x00\x19\x2c\x39\xdf\x70\xb7\x50\x09\x76\x51\x46\x7e\x7f\x61\xe2\xcf\x6d\x47\xcc\x20\xf8\x2e\xfd\xa4\xe1\x95\xdc\xc9\x85\x1b\xfc\x49\xce\x47\x90\x5f\x16\x3f\xa9\x04\x1f\x62\xc9\x6c\x3a\x9c\x7d\xfc\x0d\x27\xe9\xd1\xea\x13\xac\x04\xf4\x9e\x5e\x75\xa6\x1f\x25\x75\x01\x6c\x51\x4a\xdb\x19\xd6\xb6\xa4\x17\x59\xcf\x08\x0b\x8c\x04\x62\x0f\x29\x82\x66\x0b\x3d\xca\x80\xec\x5f\x97\x41\x07\x95\xa8\x04\xe3\xd5\x84\xd0\xad\x96\xcb\x61\x18\x16\x7a\xa4\xbb\x10\x57\x2f\x2f\xea\x96\x0f\xe9\xed\x26\xcb\x37\xf3\x91\xb2\x4a\xf0\xd5\x1a\xf2\x1e\x8e\xfe\xea\xd9\x51\x85\xe2\x04\xdd\x75\x86\x4b\x5d\x18\x82\xd1\x43\x0c\x6e\x4c\x67\x0c\x9d\x2d\x06\xc7\x81\x6d\x7d\x03\x3f\xa5\xae\x92\x37\xe9\xbc\xd8\x75\xa1\xc7\xfe\x4d\x81\x58\x68\x8b\xd9\x3a\x47\x9a\xcf\xf0\x69\x9d\xa7\xf9\x8d\x4a\xf0\x2d\xdd\xfd\xbe\xfd\xba\xc3\xb7\xf5\xe3\xe3\x3a\xdb\xa5\x9b\x1c\xdb\x47\xdc\x6e\xb3\xbb\x74\x97\x6e\xb3\x1c\xdb\x7b\xac\xb3\xef\xf8\x92\x66\x77\x37\x20\x0e\x0d\x39\xd0\x8f\xce\x45\xfe\xe2\xc0\xd1\x48\xaa\x62\xa6\x97\x01\xba\x10\x88\xf3\x11\x9f\x7d\x47\x25\xef\xb9\x84\xd1\xb6\xee\x75\x4d\xa8\xe5\x48\xce\xc6\xf1\xe8\xc8\xb5\xec\x63\x9c\x1e\xda\x56\x2a\x81\xe1\x96\xc3\x38\x45\xfe\x5a\x54\x84\x79\xcf\xdd\x8a\x7b\xa1\x5b\x32\xf3\xc3\x5c\x3a\x72\x3a\x2e\x87\x6f\xa4\x37\x15\x8e\xe4\x78\x7f\x1a\xc1\x2b\xea\x8c\x9c\x96\x74\x24\x1b\x33\x98\x0f\x54\x34\x22\x87\x18\xcb\xc1\xea\xc0\x47\x9a\x5f\xce\x60\x75\x4b\xbe\xd3\x65\xcc\xe7\x62\x00\xd9\x23\x3b\xb1\x71\xd1\x70\xd4\x8e\xc7\x90\xf3\x34\xfb\xf2\xf4\x29\xcd\xee\xd2\xec\xf3\x53\xbe\x79\xd8\xdc\x46\xbf\x9f\xfe\xd8\xde\x6d\xd4\x81\x6d\xb5\xc2\xa3\x18\x52\xba\xe3\x69\xde\x57\x70\x85\x2e\x17\xba\x0f\x8d\x38\xfe\x7b\xb4\x68\x71\xf8\xd5\x2f\x58\x96\xc7\x9f\x55\x4b\x41\x57\x3a\xe8\x95\xc2\x0b\x89\xd5\x15\xc1\xe9\x74\x75\xa5\x7b\xfe\x1f\x95\x46\x17\x64\x7c\xec\x88\x38\x9f\x2b\xcc\xa6\xb7\x66\xca\xf5\x86\xfc\x4a\xcd\xa1\x3b\xfe\xec\xa4\xef\xc6\xb2\xf8\xd8\x79\x05\x38\xf2\xd2\xbb\x92\xa6\x7f\xcf\x0e\x8e\x5f\x1a\x85\x68\x6d\x31\x1d\xd4\x14\xae\x7b\xfc\xaf\xce\xeb\xc6\x4e\x0c\xf9\xe7\xbb\x82\x6d\xfc\xe8\xfc\x0b\xa3\x74\xa4\x03\x4d\x3c\x0c\xbd\xb9\x2d\xc5\x18\x2a\x23\xc4\x33\x9d\xf8\x6b\xd8\x07\xf5\x4f\x00\x00\x00\xff\xff\xef\x08\xe7\xbd\xc7\x05\x00\x00"), + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x54\xcd\x8e\xa3\x46\x10\xbe\xf7\x53\x7c\x32\x97\x5d\x69\x6c\x27\x39\x45\xce\xc9\x3b\xe3\xd9\xa0\x9d\x60\x69\xf0\x66\xb5\xa7\x51\x03\x65\x28\xb9\xe9\x22\xdd\x8d\x59\xe7\xe9\xa3\xc6\x78\x7e\xd6\xca\x6d\xb8\x18\xdc\x45\x7d\x7f\x55\x24\x98\xbf\xdf\xa5\x12\x3c\x70\x49\xd6\x53\x85\x20\x08\x0d\x61\xdd\xe9\xb2\x21\xe4\xb2\x0f\x83\x76\x84\x7b\xe9\x6d\xa5\x03\x8b\xc5\x87\x75\x7e\xff\x11\xbd\xad\xc8\x41\x2c\x41\x1c\x5a\x71\xa4\x12\x94\x62\x83\xe3\xa2\x0f\xe2\x60\xce\x0d\xa1\x6b\x47\xd4\x92\x0d\x7e\x01\xe4\x44\x63\xf7\x6c\xbb\x4b\x6f\x37\xd8\xb3\x21\x54\xec\xcf\x2f\x51\x85\x81\x43\xa3\x12\x84\x86\x3d\x06\x71\x07\xec\xc5\x41\x57\x15\x47\x60\x6d\xc0\x76\x2f\xae\x3d\xd3\x70\x54\x6b\x57\xb1\xad\x51\x4a\x77\x72\x5c\x37\x01\x32\x58\x72\xbe\xe1\x6e\xa1\x12\xec\xa2\x8c\xfc\xfe\xc2\xc4\x9f\xdb\x8e\x98\x41\xf0\x5d\xfa\x49\xc3\x2b\xb9\x93\x0b\x37\xf8\x9b\x9c\x8f\x20\xbf\x2d\x7e\x51\x09\x3e\xc4\x92\xd9\x74\x38\xfb\xf8\x07\x4e\xd2\xa3\xd5\x27\x58\x09\xe8\x3d\xbd\xea\x4c\x3f\x4a\xea\x02\xd8\xa2\x94\xb6\x33\xac\x6d\x49\x2f\xb2\x9e\x11\x16\x18\x09\xc4\x1e\x52\x04\xcd\x16\x7a\x94\x01\xd9\xbf\x2e\x83\x0e\x2a\x51\x09\xc6\xab\x09\xa1\x5b\x2d\x97\xc3\x30\x2c\xf4\x48\x77\x21\xae\x5e\x5e\xd4\x2d\x1f\xd2\xdb\x4d\x96\x6f\xe6\x23\x65\x95\xe0\xab\x35\xe4\x3d\x1c\xfd\xd3\xb3\xa3\x0a\xc5\x09\xba\xeb\x0c\x97\xba\x30\x04\xa3\x87\x18\xdc\x98\xce\x18\x3a\x5b\x0c\x8e\x03\xdb\xfa\x06\x7e\x4a\x5d\x25\x6f\xd2\x79\xb1\xeb\x42\x8f\xfd\x9b\x02\xb1\xd0\x16\xb3\x75\x8e\x34\x9f\xe1\xd3\x3a\x4f\xf3\x1b\x95\xe0\x5b\xba\xfb\x73\xfb\x75\x87\x6f\xeb\xc7\xc7\x75\xb6\x4b\x37\x39\xb6\x8f\xb8\xdd\x66\x77\xe9\x2e\xdd\x66\x39\xb6\xf7\x58\x67\xdf\xf1\x25\xcd\xee\x6e\x40\x1c\x1a\x72\xa0\x1f\x9d\x8b\xfc\xc5\x81\xa3\x91\x54\xc5\x4c\x2f\x03\x74\x21\x10\xe7\x23\x3e\xfb\x8e\x4a\xde\x73\x09\xa3\x6d\xdd\xeb\x9a\x50\xcb\x91\x9c\x8d\xe3\xd1\x91\x6b\xd9\xc7\x38\x3d\xb4\xad\x54\x02\xc3\x2d\x87\x71\x8a\xfc\xb5\xa8\x08\xf3\x9e\xbb\x15\xf7\x42\xb7\x64\xe6\x87\xb9\x74\xe4\x74\x5c\x0e\xdf\x48\x6f\x2a\x1c\xc9\xf1\xfe\x34\x82\x57\xd4\x19\x39\x2d\xe9\x48\x36\x66\x30\x1f\xa8\x68\x44\x0e\x31\x96\x83\xd5\x81\x8f\x34\xbf\x9c\xc1\xea\x96\x7c\xa7\xcb\x98\xcf\xc5\x00\xb2\x47\x76\x62\xe3\xa2\xe1\xa8\x1d\x8f\x21\xe7\x69\xf6\xe5\xe9\x53\x9a\xdd\xa5\xd9\xe7\xa7\x7c\xf3\xb0\xb9\x8d\x7e\x3f\xfd\xb5\xbd\xdb\xa8\x03\xdb\x6a\x85\x47\x31\xa4\x74\xc7\xd3\xbc\xaf\xe0\x0a\x5d\x2e\x74\x1f\x1a\x71\xfc\xef\x68\xd1\xe2\xf0\xbb\x5f\xb0\x2c\x8f\xbf\xaa\x96\x82\xae\x74\xd0\x2b\x85\x17\x12\xab\x2b\x82\xd3\xe9\xea\x4a\xf7\xfc\xe7\xca\x8b\x4c\x05\x18\x5d\x90\xf1\xb1\x33\xe2\x9c\xae\x30\x9b\xde\x9e\x29\xd7\x1b\xf2\x2b\x35\x87\xee\xf8\xb3\x93\xbe\x1b\xcb\xe2\x63\xe7\x15\xe0\xc8\x4b\xef\x4a\x9a\xfe\x3d\x3b\x39\x7e\x71\x14\xa2\xc5\xc5\x74\x50\x53\xb8\xee\xf1\xbf\x7a\xaf\x1b\x3b\x31\xe4\x9f\xef\x0a\xb6\xf1\xe3\xf3\x13\x46\xe9\x48\x07\x9a\x78\x18\x7a\x73\x5b\x8a\x31\x54\x46\x88\x67\x3a\xf1\xd7\xb0\x0f\xea\xbf\x00\x00\x00\xff\xff\x72\xdb\x86\xce\xcf\x05\x00\x00"), }, "/rbac/operator-role-knative.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role-knative.yaml", @@ -420,9 +420,9 @@ var assets = func() http.FileSystem { "/rbac/operator-role.yaml": &vfsgen۰CompressedFileInfo{ name: "operator-role.yaml", modTime: time.Time{}, - uncompressedSize: 2943, + uncompressedSize: 2967, - 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\xd9\xa4\x35\xba\xb0\x81\xc8\xdb\xc5\x1e\x47\xe4\x58\x9e\x9a\xe2\xb0\x24\x15\xc7\xfd\xfa\x82\xb2\x14\x3b\x91\xbd\x28\xba\x8b\x6e\x7d\x09\x45\x4e\xde\xbc\x79\xef\x51\x50\x0e\xe3\xaf\xf7\xcb\x72\x78\xcf\x8a\x6c\x20\x0d\x51\x20\x6e\x09\xe6\x0e\xd5\x96\xa0\x90\x4d\xdc\xa3\x27\xb8\x97\xc6\x6a\x8c\x2c\x16\xde\xcc\x8b\xfb\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\xb8\xbd\x83\x0d\x1b\x02\xcd\xe1\xf8\x4f\xa4\x61\xcf\x71\x9b\xe5\x10\xb7\x1c\x60\x2f\x7e\x07\x1b\xf1\x80\x5a\x73\x6a\x8c\x06\xd8\x6e\xc4\xd7\x47\x1a\x9e\x2a\xf4\x9a\x6d\x05\x4a\xdc\xc1\x73\xb5\x8d\x20\x7b\x4b\x3e\x6c\xd9\x4d\xb2\x1c\xd6\x69\x8c\xe2\xbe\x67\x12\x8e\xb0\x6d\xcf\x28\xf0\x49\x9a\x6e\x86\xb3\x71\x3b\x15\x6e\xe0\x77\xf2\x21\x35\xf9\x61\xf2\x5d\x96\xc3\x9b\x54\x32\xea\x0e\x47\x6f\x7f\x82\x83\x34\x50\xe3\x01\xac\x44\x68\x02\x9d\x21\xd3\x93\x22\x17\x81\x2d\x28\xa9\x9d\x61\xb4\x8a\x4e\x63\x3d\x77\x98\x40\x4b\x20\x61\x48\x19\x91\x2d\x60\x3b\x06\xc8\xe6\xbc\x0c\x30\x66\x79\x96\x43\xfb\xdb\xc6\xe8\x66\xd3\xe9\x7e\xbf\x9f\x60\x4b\x77\x22\xbe\x9a\xf6\xd3\x4d\xdf\x2f\x6e\xef\x96\xc5\xdd\xb8\xa5\x9c\xe5\xf0\xc1\x1a\x0a\x01\x3c\xfd\xd9\xb0\x27\x0d\xe5\x01\xd0\x39\xc3\x0a\x4b\x43\x60\x70\x9f\x8c\x6b\xdd\x69\x4d\x67\x0b\x7b\xcf\x91\x6d\x75\x03\xa1\x73\x3d\xcb\x5f\xb8\x73\x92\xab\xa7\xc7\xe1\x45\x81\x58\x40\x0b\xa3\x79\x01\x8b\x62\x04\x3f\xcf\x8b\x45\x71\x93\xe5\xf0\x71\xb1\xfe\x75\xf5\x61\x0d\x1f\xe7\x0f\x0f\xf3\xe5\x7a\x71\x57\xc0\xea\x01\x6e\x57\xcb\x77\x8b\xf5\x62\xb5\x2c\x60\x75\x0f\xf3\xe5\x27\xf8\x6d\xb1\x7c\x77\x03\xc4\x71\x4b\x1e\xe8\xc9\xf9\xc4\x5f\x3c\x70\x12\x92\x74\xf2\xb4\x0f\x50\x4f\x20\xe5\x23\x3d\x07\x47\x8a\x37\xac\xc0\xa0\xad\x1a\xac\x08\x2a\x79\x24\x6f\x53\x3c\x1c\xf9\x9a\x43\xb2\x33\x00\x5a\x9d\xe5\x60\xb8\xe6\xd8\xa6\x28\x0c\x87\x4a\x6d\xbe\xe6\xdd\xca\x76\x6c\xf5\x0c\x1e\xc4\x50\x86\x8e\xbb\x64\xcd\xc0\x97\xa8\x26\xd8\xc4\xad\x78\xfe\xab\x25\x33\xd9\xfd\x18\x26\x2c\xd3\xc7\xef\xb3\x9a\x22\x6a\x8c\x38\xcb\x00\x2c\xd6\x34\x03\x85\x35\x99\xf1\x6e\x2c\x8e\x3c\x46\xf1\x19\x80\xc1\x92\x4c\x48\x25\x90\xac\x9d\xc1\xa8\x2b\x1a\x65\xbe\x31\x14\x66\xd9\x18\xd0\xf1\x2f\x5e\x1a\xd7\x96\x8d\x8f\x28\x67\xf1\xc9\x00\x3c\x05\x69\xbc\xa2\xae\xa2\x6c\xd8\xe8\x70\x2a\x56\x18\xd1\x48\x75\xdc\x61\x1b\xa9\xf2\x2d\xd9\x1d\xc7\xc1\x9e\x33\x18\xd3\x05\x1d\x1c\x1c\x37\x76\x09\x8f\x62\xc9\x36\x5d\xdb\x17\x7b\xe9\xe1\x91\x7c\xd9\xd3\xf4\x84\x91\xda\x65\x45\xb1\xfd\x6b\x38\x1c\x17\x0e\xa3\xda\xb6\xab\xc6\xe9\xbe\x6a\xdf\x6e\x7e\xc9\xb8\x67\xdd\x75\x62\x44\xff\x1e\x6d\x1a\x22\xc6\xe6\x82\x86\xe7\x07\xaf\xa4\xbc\x72\xf4\xac\xe8\x95\xf3\x30\x0d\x0a\x0d\x5d\xd8\x3e\x95\xbf\x92\xfd\xb3\x47\xcf\x60\xbd\x2f\xa7\xea\x33\x81\x7a\x4f\x06\x56\x0c\x24\x1b\x8d\x86\x22\x39\xe9\xf2\x15\xc8\x3f\xb2\xa2\xe3\x03\x59\xed\x84\x6d\x17\x2a\x97\x6e\x49\x88\x64\xe3\xa3\x98\xa6\x26\x65\x90\xbb\x58\x29\xb1\x1b\xae\x6a\x74\x3d\x88\xf2\x14\x5f\x00\xa2\x52\xd2\xf4\x48\xe9\xf6\x04\x87\xc7\x36\x97\x23\xd6\xf9\x7d\x5a\x2a\x31\x86\x54\x12\xf2\xcb\x23\x78\x4d\x81\x29\x3d\x91\xba\x48\xe9\x9f\x43\x38\x2f\x4f\x87\xa1\x35\x03\x00\x27\x86\xd5\xe1\x22\x88\xe6\xe0\x1b\x97\x46\x2d\x1b\x5d\x7d\xee\x22\x9e\xa9\xd4\x0b\x72\x36\xfd\x05\x6d\xae\x08\x72\xf5\xbd\x37\xe4\xe7\xc5\x74\xe9\x48\xab\xb3\xf7\xc6\x37\xf0\x11\x5d\x1b\xb8\x57\x0c\x35\x39\x23\x87\xf6\xf3\xe6\xdb\xd0\x2a\xbb\xda\x57\xbc\x94\x17\xfb\x87\x94\xff\x2f\x52\x43\x42\x83\x2e\x57\x00\x2d\xc5\xf4\x39\xc8\xb6\xba\x9a\x15\xb6\x55\xfa\x5e\xf8\x8f\xae\xf9\xdf\x01\x00\x00\xff\xff\xc2\xe1\x20\x09\x7f\x0b\x00\x00"), + compressedContent: []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x56\xc1\x8e\xe2\x46\x10\xbd\xfb\x2b\x4a\xf8\xb2\x2b\x0d\x90\xe4\x14\x91\x13\x99\x9d\x49\x50\x56\x20\x0d\x6c\x56\x7b\x2c\xb7\x0b\x53\xa1\xdd\xd5\xa9\x6e\x0f\x43\xbe\x3e\x6a\x63\x0f\xcc\x00\xab\x28\xbb\xca\x86\xcb\xb4\xbb\x6b\x5e\xbd\x7a\xef\xb5\xe5\x1c\x86\x5f\xef\x97\xe5\xf0\x9e\x0d\xb9\x40\x25\x44\x81\xb8\x21\x98\x7a\x34\x1b\x82\xa5\xac\xe3\x0e\x95\xe0\x5e\x1a\x57\x62\x64\x71\xf0\x66\xba\xbc\x7f\x0b\x8d\x2b\x49\x41\x1c\x81\x28\xd4\xa2\x94\xe5\x60\xc4\x45\xe5\xa2\x89\xa2\x60\x0f\x80\x80\x95\x12\xd5\xe4\x62\x18\x01\x2c\x89\x5a\xf4\xf9\x62\x35\xbb\xbd\x83\x35\x5b\x82\x92\xc3\xe1\x9f\xa8\x84\x1d\xc7\x4d\x96\x43\xdc\x70\x80\x9d\xe8\x16\xd6\xa2\x80\x65\xc9\xa9\x31\x5a\x60\xb7\x16\xad\x0f\x34\x94\x2a\xd4\x92\x5d\x05\x46\xfc\x5e\xb9\xda\x44\x90\x9d\x23\x0d\x1b\xf6\xa3\x2c\x87\x55\x1a\x63\x79\xdf\x33\x09\x07\xd8\xb6\x67\x14\xf8\x24\x4d\x37\xc3\xc9\xb8\x9d\x0a\x37\xf0\x3b\x69\x48\x4d\x7e\x18\x7d\x97\xe5\xf0\x26\x95\x0c\xba\xc3\xc1\xdb\x9f\x60\x2f\x0d\xd4\xb8\x07\x27\x11\x9a\x40\x27\xc8\xf4\x64\xc8\x47\x60\x07\x46\x6a\x6f\x19\x9d\xa1\xe3\x58\xcf\x1d\x46\xd0\x12\x48\x18\x52\x44\x64\x07\xd8\x8e\x01\xb2\x3e\x2d\x03\x8c\x59\x9e\xe5\xd0\xfe\x36\x31\xfa\xc9\x78\xbc\xdb\xed\x46\xd8\xd2\x1d\x89\x56\xe3\x7e\xba\xf1\xfb\xd9\xed\xdd\x7c\x79\x37\x6c\x29\x67\x39\x7c\x70\x96\x42\x00\xa5\x3f\x1b\x56\x2a\xa1\xd8\x03\x7a\x6f\xd9\x60\x61\x09\x2c\xee\x92\x71\xad\x3b\xad\xe9\xec\x60\xa7\x1c\xd9\x55\x37\x10\x3a\xd7\xb3\xfc\x85\x3b\x47\xb9\x7a\x7a\x1c\x5e\x14\x88\x03\x74\x30\x98\x2e\x61\xb6\x1c\xc0\xcf\xd3\xe5\x6c\x79\x93\xe5\xf0\x71\xb6\xfa\x75\xf1\x61\x05\x1f\xa7\x0f\x0f\xd3\xf9\x6a\x76\xb7\x84\xc5\x03\xdc\x2e\xe6\xef\x66\xab\xd9\x62\xbe\x84\xc5\x3d\x4c\xe7\x9f\xe0\xb7\xd9\xfc\xdd\x0d\x10\xc7\x0d\x29\xd0\x93\xd7\xc4\x5f\x14\x38\x09\x49\x65\xf2\xb4\x0f\x50\x4f\x20\xe5\x23\x3d\x07\x4f\x86\xd7\x6c\xc0\xa2\xab\x1a\xac\x08\x2a\x79\x24\x75\x29\x1e\x9e\xb4\xe6\x90\xec\x0c\x80\xae\xcc\x72\xb0\x5c\x73\x6c\x53\x14\xce\x87\x4a\x6d\xbe\xe6\xdd\xca\xb6\xec\xca\x09\x3c\x88\xa5\x0c\x3d\x77\xc9\x9a\x80\x16\x68\x46\xd8\xc4\x8d\x28\xff\xd5\x92\x19\x6d\x7f\x0c\x23\x96\xf1\xe3\xf7\x59\x4d\x11\x4b\x8c\x38\xc9\x00\x1c\xd6\x34\x01\x83\x35\xd9\xe1\x76\x28\x9e\x14\xa3\x68\x06\x60\xb1\x20\x1b\x52\x09\x24\x6b\x27\x30\xe8\x8a\x06\x99\x36\x96\xc2\x24\x1b\x02\x7a\xfe\x45\xa5\xf1\x6d\xd9\xf0\x80\x72\x12\x9f\x0c\x40\x29\x48\xa3\x86\xba\x8a\xa2\x61\x5b\x86\x63\xb1\xc1\x88\x56\xaa\xc3\x0e\xbb\x48\x95\xb6\x64\xb7\x1c\xcf\xf6\xbc\xc5\x98\x2e\xe8\xd9\xc1\x61\x63\x9b\xf0\x28\x16\xec\xd2\xb5\x7d\xb1\x97\x1e\x1e\x49\x8b\x9e\xa6\x12\x46\x6a\x97\x15\xc5\xf6\xaf\xe5\x70\x58\x78\x8c\x66\xd3\xae\x1a\x5f\xf6\x55\xbb\x76\xf3\x4b\xc6\x3d\xe9\x5e\x26\x46\xf4\xef\xd1\xc6\x21\x62\x6c\x2e\x68\x78\x7a\xf0\x4a\xca\x2b\x47\xcf\x8a\x5e\x39\x0f\xe3\x60\xd0\xd2\x85\xed\x63\xf9\x2b\xd9\x3f\x7b\xf4\x0c\xd6\xfb\x72\xac\x3e\x11\xa8\xf7\xe4\xcc\x8a\x33\xc9\x06\x83\x73\x91\xbc\x74\xf9\x0a\xa4\x8f\x6c\xe8\xf0\x40\xae\xf4\xc2\xae\x0b\x95\x4f\xb7\x24\x44\x72\xf1\x51\x6c\x53\x93\xb1\xc8\x5d\xac\x8c\xb8\x35\x57\x35\xfa\x1e\xc4\x28\xc5\x17\x80\x68\x8c\x34\x3d\x52\xba\x3d\xc1\xe3\xa1\xcd\xe5\x88\x75\x7e\x1f\x97\x46\xac\x25\x93\x84\xfc\xf2\x08\x5e\x53\x60\x4c\x4f\x64\x2e\x52\xfa\xe7\x10\x5e\xe5\x69\x7f\x6e\xcd\x19\x80\x17\xcb\x66\x7f\x11\xa4\xe4\xa0\x8d\x4f\xa3\x16\x4d\x59\x7d\xee\x22\x9e\xa8\xd4\x0b\x72\x32\xfd\x05\x6d\xae\x08\x72\xf5\xbd\x77\xce\x4f\xc5\x76\xe9\x48\xab\x17\xef\x0d\x63\x9b\x10\x49\x5f\xed\x7f\x03\x7f\xd1\xb7\x41\x7c\xc5\xbc\x24\x6f\x65\xdf\x7e\xf6\x7c\x1b\x5a\x45\x57\xfb\x8a\x97\x51\x71\x7f\x48\xf1\xff\x22\x75\x4e\xe8\xac\xcb\x15\x40\x47\x31\x7d\x26\xb2\xab\xae\x66\x88\x5d\x95\xbe\x23\xfe\xa3\xeb\xff\x77\x00\x00\x00\xff\xff\x2b\xeb\x5a\xc6\x97\x0b\x00\x00"), }, "/rbac/patch-role-to-clusterrole.yaml": &vfsgen۰CompressedFileInfo{ name: "patch-role-to-clusterrole.yaml", diff --git a/script/Makefile b/script/Makefile index 66804f99fc..4533554247 100644 --- a/script/Makefile +++ b/script/Makefile @@ -17,7 +17,7 @@ VERSIONFILE := pkg/util/defaults/defaults.go VERSION ?= 1.8.0 LAST_RELEASED_IMAGE_NAME := red-hat-camel-k-operator LAST_RELEASED_VERSION := 1.6.7 -RUNTIME_VERSION ?= 1.8.0 +RUNTIME_VERSION ?= 1.12.0 RHI_VERSION := 2022.Q3 BUILDAH_VERSION := 1.14.0 KANIKO_VERSION := 0.17.1