mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-26 04:36:00 +00:00
Populate API version in synthetic authorization requests
This commit is contained in:
@@ -373,6 +373,7 @@ func buildAttributes(info user.Info, namespace, policyName, apiGroupName string)
|
||||
Namespace: namespace,
|
||||
Name: policyName,
|
||||
APIGroup: apiGroupName,
|
||||
APIVersion: "*",
|
||||
Resource: "podsecuritypolicies",
|
||||
ResourceRequest: true,
|
||||
}
|
||||
|
Reference in New Issue
Block a user