We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c92447 commit 11e4548Copy full SHA for 11e4548
infra/feast-operator/internal/controller/authz/authz.go
@@ -134,11 +134,11 @@ func (authz *FeastAuthorization) initFeastRoleBinding() *rbacv1.RoleBinding {
134
135
func (authz *FeastAuthorization) setFeastRoleBinding(roleBinding *rbacv1.RoleBinding) error {
136
roleBinding.Labels = authz.getLabels()
137
- roleBinding.Subjects = append(roleBinding.Subjects, rbacv1.Subject{
+ roleBinding.Subjects = []rbacv1.Subject{{
138
Kind: rbacv1.ServiceAccountKind,
139
Name: services.GetFeastName(authz.Handler.FeatureStore),
140
Namespace: authz.Handler.FeatureStore.Namespace,
141
- })
+ }}
142
roleBinding.RoleRef = rbacv1.RoleRef{
143
APIGroup: rbacv1.GroupName,
144
Kind: "Role",
0 commit comments