Skip to content

Commit bb2af64

Browse files
committed
Pluralize SCC Kind for /oapi group map
The Kind name is SecurityContextConstraints, not SecurityContextConstraint. Signed-off-by: Monis Khan <[email protected]>
1 parent 0b74dfc commit bb2af64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/api/legacygroupification/groupification.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ var oapiKindsToGroup = map[string]string{
150150
"ProjectRequest": "project.openshift.io",
151151
"ClusterResourceQuota": "quota.openshift.io", "ClusterResourceQuotaList": "quota.openshift.io",
152152
"Route": "route.openshift.io", "RouteList": "route.openshift.io",
153-
"SecurityContextConstraint": "security.openshift.io", "SecurityContextConstraintList": "security.openshift.io",
153+
"SecurityContextConstraints": "security.openshift.io", "SecurityContextConstraintsList": "security.openshift.io",
154154
"Template": "template.openshift.io", "TemplateList": "template.openshift.io",
155155
"Group": "user.openshift.io", "GroupList": "user.openshift.io",
156156
"Identity": "user.openshift.io", "IdentityList": "user.openshift.io",

0 commit comments

Comments
 (0)