From 7f387cd051b01e15bbd513d4d217b9a8e1dc838f Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Tue, 18 Jan 2022 18:55:13 -0300 Subject: [PATCH] [installer] Fix registry-facade ClusterRoleBinding name --- installer/pkg/components/registry-facade/rolebinding.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/pkg/components/registry-facade/rolebinding.go b/installer/pkg/components/registry-facade/rolebinding.go index c534c2e20534d3..5a790bb46ab80e 100644 --- a/installer/pkg/components/registry-facade/rolebinding.go +++ b/installer/pkg/components/registry-facade/rolebinding.go @@ -21,7 +21,7 @@ func rolebinding(ctx *common.RenderContext) ([]runtime.Object, error) { &rbacv1.ClusterRoleBinding{ TypeMeta: common.TypeMetaClusterRoleBinding, ObjectMeta: metav1.ObjectMeta{ - Name: Component, + Name: fmt.Sprintf("%s-%s-rb", ctx.Namespace, Component), Labels: labels, }, RoleRef: rbacv1.RoleRef{