Skip to content

Commit

Permalink
Merge pull request #10297 from fabriziopandini/add-namespaces-to-fake…
Browse files Browse the repository at this point in the history
…-API-server

🌱 Add namespaces to the list of resource handled by the in-memory API server
  • Loading branch information
k8s-ci-robot committed Mar 26, 2024
2 parents fe7847b + d616d52 commit af7ef29
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/infrastructure/inmemory/pkg/server/api/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,25 @@ var (
},
StorageVersionHash: "",
},
{
Name: "namespaces",
SingularName: "namespace",
Namespaced: false,
Kind: "Namespace",
Verbs: []string{
"create",
"delete",
"get",
"list",
"patch",
"update",
"watch",
},
ShortNames: []string{
"ns",
},
StorageVersionHash: "",
},
},
}

Expand Down

0 comments on commit af7ef29

Please sign in to comment.