update test-cmd to avoid removed beta APIs

This commit is contained in:
David Eads
2021-04-19 10:06:37 -04:00
parent 4ac8dfc3b6
commit 2fb8420756
11 changed files with 137 additions and 71 deletions

View File

@@ -1,16 +0,0 @@
{
"apiVersion": "authorization.k8s.io/v1beta1",
"kind": "SubjectAccessReview",
"spec": {
"user": "bob",
"group": [
"the-group"
],
"resourceAttributes": {
"namespace": "ns",
"verb": "create",
"group": "autoscaling",
"resource": "horizontalpodautoscalers"
}
}
}

View File

@@ -1,7 +0,0 @@
{
"apiVersion": "authentication.k8s.io/v1beta1",
"kind": "TokenReview",
"spec": {
"token": "test-token"
}
}