mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 17:38:50 +00:00
add subjectaccessreviews resource
This commit is contained in:
16
test/fixtures/pkg/kubectl/cmd/create/sar.json
vendored
Normal file
16
test/fixtures/pkg/kubectl/cmd/create/sar.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"apiVersion": "authorization.k8s.io/v1beta1",
|
||||
"kind": "SubjectAccessReview",
|
||||
"spec": {
|
||||
"user": "bob",
|
||||
"groups": [
|
||||
"the-group"
|
||||
],
|
||||
"resourceAttributes": {
|
||||
"namespace": "ns",
|
||||
"verb": "create",
|
||||
"group": "autoscaling",
|
||||
"resource": "horizontalpodautoscalers"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user