Populate API version in synthetic authorization requests

This commit is contained in:
Jordan Liggitt
2019-07-10 21:29:25 -04:00
parent 33541bdd34
commit 2899abb65c
3 changed files with 8 additions and 2 deletions

View File

@@ -373,6 +373,7 @@ func buildAttributes(info user.Info, namespace, policyName, apiGroupName string)
Namespace: namespace,
Name: policyName,
APIGroup: apiGroupName,
APIVersion: "*",
Resource: "podsecuritypolicies",
ResourceRequest: true,
}