Skip to content

Commit

Permalink
Merge pull request #11050 from fossedihelm/remove_unauthenticated
Browse files Browse the repository at this point in the history
fix: restrict default cluster role to authenticated only users
  • Loading branch information
kubevirt-bot committed Jan 23, 2024
2 parents 2ad6146 + a1ed7d5 commit 1e8346a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions pkg/virt-operator/resource/generate/rbac/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,6 @@ func newDefaultClusterRoleBinding() *rbacv1.ClusterRoleBinding {
APIGroup: VersionName,
Name: "system:authenticated",
},
{
Kind: "Group",
APIGroup: VersionName,
Name: "system:unauthenticated",
},
},
}
}
Expand Down
1 change: 0 additions & 1 deletion pkg/virt-operator/resource/generate/rbac/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ var _ = Describe("Cluster role and cluster role bindings", func() {
expectSubjectExists(clusterRoleBinding.Subjects, kind, name)
},
Entry("system:authenticated", "Group", "system:authenticated"),
Entry("system:unauthenticated", "Group", "system:unauthenticated"),
)
})

Expand Down

0 comments on commit 1e8346a

Please sign in to comment.