From 2596cd2680e136dbecf1773163a165999f6529d5 Mon Sep 17 00:00:00 2001 From: Dario Tranchitella Date: Thu, 1 Jul 2021 16:21:03 +0200 Subject: [PATCH] fix: ensuring single reconciliation for Capsule RoleBinding resources --- controllers/tenant_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/tenant_controller.go b/controllers/tenant_controller.go index 96e40bf34..162479906 100644 --- a/controllers/tenant_controller.go +++ b/controllers/tenant_controller.go @@ -614,6 +614,7 @@ func (r *TenantReconciler) ownerRoleBinding(tenant *capsulev1alpha1.Tenant) erro l := map[string]string{tl: tenant.Name} s := []rbacv1.Subject{ { + APIGroup: "rbac.authorization.k8s.io", Kind: tenant.Spec.Owner.Kind.String(), Name: tenant.Spec.Owner.Name, },