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
{{ message }}
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
I was recently reminded that RoleBindings can't have their Roles changed after they're created. This suggests that if we quickly recreate an RB in an ancestor namespace - fast enough that by the time that HNC notices, the new RB exists - HNC could see it as an update (not a delete + create) and attempt to update the RBs in all descendant namespaces. This will fail.
We should add a test that exhibits this issue and find a way to fix it.
I don't think this needs to be backported to HNC v0.4. I'd imagine that in most cases, HNC will notice that the RB has been deleted before it's been recreated, even if the change is being made by some automated tool. But I'll update the release notes to indicate this issue.
The text was updated successfully, but these errors were encountered:
After you create a binding, you cannot change the Role or ClusterRole that it refers to. If you try to change a binding's roleRef, you get a validation error. If you do want to change the roleRef for a binding, you need to remove the binding object and create a replacement.
I was recently reminded that RoleBindings can't have their Roles changed after they're created. This suggests that if we quickly recreate an RB in an ancestor namespace - fast enough that by the time that HNC notices, the new RB exists - HNC could see it as an update (not a delete + create) and attempt to update the RBs in all descendant namespaces. This will fail.
We should add a test that exhibits this issue and find a way to fix it.
I don't think this needs to be backported to HNC v0.4. I'd imagine that in most cases, HNC will notice that the RB has been deleted before it's been recreated, even if the change is being made by some automated tool. But I'll update the release notes to indicate this issue.
The text was updated successfully, but these errors were encountered: