Open sector-f opened 9 months ago
95757258ef931d3540d93c9cb3de17061622d9f5 added the combineRoleBindingSubjects function. I believe there is a bug in this line of the function.
combineRoleBindingSubjects
sub.Kind is used in the key string twice, but the comment makes it sound like one of those should probably be sub.Name:
sub.Kind
sub.Name
- key := fmt.Sprintf("%v/%v/%v", sub.Namespace, sub.Kind, sub.Kind) // key is <namespace>/<kind>/<name> + key := fmt.Sprintf("%v/%v/%v", sub.Namespace, sub.Kind, sub.Name) // key is <namespace>/<kind>/<name>
@MaxMcAdam
95757258ef931d3540d93c9cb3de17061622d9f5 added the
combineRoleBindingSubjects
function. I believe there is a bug in this line of the function.sub.Kind
is used in the key string twice, but the comment makes it sound like one of those should probably besub.Name
: