kubernetes/staging/src/k8s.io/api/testdata/v1.31.0/authorization.k8s.io.v1beta1.SubjectAccessReview.yaml

apiVersion: authorization.k8s.io/v1beta1
kind: SubjectAccessReview
metadata:
  annotations:
    annotationsKey: annotationsValue
  creationTimestamp: "2008-01-01T01:01:01Z"
  deletionGracePeriodSeconds: 10
  deletionTimestamp: "2009-01-01T01:01:01Z"
  finalizers:
  - finalizersValue
  generateName: generateNameValue
  generation: 7
  labels:
    labelsKey: labelsValue
  managedFields:
  - apiVersion: apiVersionValue
    fieldsType: fieldsTypeValue
    fieldsV1: {}
    manager: managerValue
    operation: operationValue
    subresource: subresourceValue
    time: "2004-01-01T01:01:01Z"
  name: nameValue
  namespace: namespaceValue
  ownerReferences:
  - apiVersion: apiVersionValue
    blockOwnerDeletion: true
    controller: true
    kind: kindValue
    name: nameValue
    uid: uidValue
  resourceVersion: resourceVersionValue
  selfLink: selfLinkValue
  uid: uidValue
spec:
  extra:
    extraKey:
    - extraValue
  group:
  - groupValue
  nonResourceAttributes:
    path: pathValue
    verb: verbValue
  resourceAttributes:
    fieldSelector:
      rawSelector: rawSelectorValue
      requirements:
      - key: keyValue
        operator: operatorValue
        values:
        - valuesValue
    group: groupValue
    labelSelector:
      rawSelector: rawSelectorValue
      requirements:
      - key: keyValue
        operator: operatorValue
        values:
        - valuesValue
    name: nameValue
    namespace: namespaceValue
    resource: resourceValue
    subresource: subresourceValue
    verb: verbValue
    version: versionValue
  uid: uidValue
  user: userValue
status:
  allowed: true
  denied: true
  evaluationError: evaluationErrorValue
  reason: reasonValue