## kyverno.io/v1beta1

Package v1beta1 contains API Schema definitions for the policy v1alpha1 API group

Resource Types:

- UpdateRequest

### UpdateRequest

UpdateRequest is a request to process mutate and generate rules in background.

Field | Description
--- | ---
`apiVersion` string | `kyverno.io/v1beta1`
`kind` string | `UpdateRequest`
`metadata` Kubernetes meta/v1.ObjectMeta | Refer to the Kubernetes API documentation for the fields of the `metadata` field.
`spec` UpdateRequestSpec | Spec is the information to identify the update request.
`requestType` RequestType | Type represents request type for background processing
`policy` string | Specifies the name of the policy.
`resource` github.com/kyverno/kyverno/api/kyverno/v1.ResourceSpec | ResourceSpec is the information to identify the update request.
`context` UpdateRequestSpecContext | Context …
`status` UpdateRequestStatus | (Optional) Status contains statistics related to update request.

### AdmissionRequestInfoObject

(Appears on: UpdateRequestSpecContext)

AdmissionRequestInfoObject stores the admission request and operation details

Field | Description
--- | ---
`admissionRequest` Kubernetes admission/v1.AdmissionRequest | (Optional)
`operation` Kubernetes admission/v1.Operation | (Optional)

### RequestInfo

(Appears on: UpdateRequestSpecContext)

RequestInfo contains permission info carried in an admission request.

Field | Description
--- | ---
`roles` []string | (Optional) Roles is a list of possible role send the request.
`clusterRoles` []string | (Optional) ClusterRoles is a list of possible clusterRoles send the request.
`userInfo` Kubernetes authentication/v1.UserInfo | (Optional) UserInfo is the userInfo carried in the admission request.

### RequestType (`string` alias)

(Appears on: UpdateRequestSpec)

### UpdateRequestSpec

(Appears on: UpdateRequest)

UpdateRequestSpec stores the request specification.

Field | Description
--- | ---
`requestType` RequestType | Type represents request type for background processing
`policy` string | Specifies the name of the policy.
`resource` github.com/kyverno/kyverno/api/kyverno/v1.ResourceSpec | ResourceSpec is the information to identify the update request.
`context` UpdateRequestSpecContext | Context …

### UpdateRequestSpecContext

(Appears on: UpdateRequestSpec)

UpdateRequestSpecContext stores the context to be shared.

Field | Description
--- | ---
`userInfo` RequestInfo | (Optional)
`admissionRequestInfo` AdmissionRequestInfoObject | (Optional)

### UpdateRequestState (`string` alias)

(Appears on: UpdateRequestStatus)

UpdateRequestState defines the state of request.

### UpdateRequestStatus

(Appears on: UpdateRequest)

UpdateRequestStatus defines the observed state of UpdateRequest

Field | Description
--- | ---
`handler` string | Handler represents the instance ID that handles the UR
`state` UpdateRequestState | State represents state of the update request.
`message` string | (Optional) Specifies request status message.
`generatedResources` []github.com/kyverno/kyverno/api/kyverno/v1.ResourceSpec | This will track the resources that are updated by the generate Policy. Will be used during clean up resources.