Storage: Make entity to runtime.Object conversion public (#89549)

* make conversion public

* make conversion public
This commit is contained in:
Ryan McKinley
2024-06-21 16:28:09 +03:00
committed by GitHub
parent 9f04b6d6a8
commit 70cd002826
4 changed files with 13 additions and 12 deletions
@@ -33,6 +33,7 @@ func WithRequester(handler http.Handler) http.Handler {
slices.Contains(info.GetGroups(), user.SystemPrivilegedGroup) {
orgId := int64(1)
requester = &identity.StaticRequester{
Namespace: identity.NamespaceServiceAccount, // system:apiserver
UserID: 1,
OrgID: orgId,
Name: info.GetName(),