You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change makes it so that the conversion for authorization
policy correctly handles when a RBAC role binding references a
cluster role. The code incorrectly assumed that the role binding's
namespace was the referenced role's namespace as well. Now we use
the role's kind to determine its namespace. This was missed by the
fuzzer tests because they only made role bindings to roles. The
tests have been updated to create bindings to both types of roles.
Signed-off-by: Monis Khan <[email protected]>
returnfmt.Errorf("invalid origin cluster role binding %s: attempts to reference role in namespace %q instead of cluster scope", in.Name, in.RoleRef.Namespace)
0 commit comments