@@ -106,7 +106,10 @@ func OAPIToGroupified(uncast runtime.Object, gvk *schema.GroupVersionKind) {
106
106
case * route.Route , * routev1.Route , * route.RouteList , * routev1.RouteList :
107
107
gvk .Group = route .GroupName
108
108
109
- case * security.SecurityContextConstraints , * securityv1.SecurityContextConstraints , * security.SecurityContextConstraintsList , * securityv1.SecurityContextConstraintsList :
109
+ case * security.SecurityContextConstraints , * securityv1.SecurityContextConstraints , * security.SecurityContextConstraintsList , * securityv1.SecurityContextConstraintsList ,
110
+ * security.PodSecurityPolicySubjectReview , * securityv1.PodSecurityPolicySubjectReview ,
111
+ * security.PodSecurityPolicySelfSubjectReview , * securityv1.PodSecurityPolicySelfSubjectReview ,
112
+ * security.PodSecurityPolicyReview , * securityv1.PodSecurityPolicyReview :
110
113
gvk .Group = security .GroupName
111
114
112
115
case * template.Template , * templatev1.Template , * template.TemplateList , * templatev1.TemplateList :
@@ -150,8 +153,11 @@ var oapiKindsToGroup = map[string]string{
150
153
"ProjectRequest" : "project.openshift.io" ,
151
154
"ClusterResourceQuota" : "quota.openshift.io" , "ClusterResourceQuotaList" : "quota.openshift.io" ,
152
155
"Route" : "route.openshift.io" , "RouteList" : "route.openshift.io" ,
153
- "SecurityContextConstraint" : "security.openshift.io" , "SecurityContextConstraintList" : "security.openshift.io" ,
154
- "Template" : "template.openshift.io" , "TemplateList" : "template.openshift.io" ,
156
+ "SecurityContextConstraints" : "security.openshift.io" , "SecurityContextConstraintsList" : "security.openshift.io" ,
157
+ "PodSecurityPolicySubjectReview" : "security.openshift.io" ,
158
+ "PodSecurityPolicySelfSubjectReview" : "security.openshift.io" ,
159
+ "PodSecurityPolicyReview" : "security.openshift.io" ,
160
+ "Template" : "template.openshift.io" , "TemplateList" : "template.openshift.io" ,
155
161
"Group" : "user.openshift.io" , "GroupList" : "user.openshift.io" ,
156
162
"Identity" : "user.openshift.io" , "IdentityList" : "user.openshift.io" ,
157
163
"UserIdentityMapping" : "user.openshift.io" ,
0 commit comments