mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
api
This commit is contained in:
@@ -90,7 +90,9 @@ func enableVersions(externalVersions []unversioned.GroupVersion) error {
|
||||
func newRESTMapper(externalVersions []unversioned.GroupVersion) meta.RESTMapper {
|
||||
// the list of kinds that are scoped at the root of the api hierarchy
|
||||
// if a kind is not enumerated here, it is assumed to have a namespace scope
|
||||
rootScoped := sets.NewString()
|
||||
rootScoped := sets.NewString(
|
||||
"PodSecurityPolicy",
|
||||
)
|
||||
|
||||
ignoredKinds := sets.NewString()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user