Skip to content

Commit f9230da

Browse files
authored
Merge pull request #2007 from ShuaiShao93/patch-1
Add namespace to role binding subject
2 parents 469db0c + 7d00284 commit f9230da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/resource/role_binding.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ func (builder *RoleBindingBuilder) Update(object client.Object) error {
4949
{
5050
Kind: "ServiceAccount",
5151
Name: builder.Instance.ChildResourceName(serviceAccountName),
52+
Namespace: builder.Instance.Namespace,
5253
},
5354
}
5455

0 commit comments

Comments
 (0)