Skip to content

Commit

Permalink
fix: ensuring single reconciliation for Capsule RoleBinding resources
Browse files Browse the repository at this point in the history
  • Loading branch information
prometherion committed Jul 1, 2021
1 parent 0d4201a commit 2596cd2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/tenant_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 2596cd2

Please sign in to comment.