Package v1beta1 contains API Schema definitions for the policy v1alpha1 API group
Resource Types:
UpdateRequestStatus 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.
|
||||||||
status
UpdateRequestStatus
|
(Optional)
Status contains statistics related to update request. |
(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) |
(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. |
string
alias)(Appears on: 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 … |
(Appears on: UpdateRequestSpec)
UpdateRequestSpecContext stores the context to be shared.
Field | Description |
---|---|
userInfo
RequestInfo
|
(Optional) |
admissionRequestInfo
AdmissionRequestInfoObject
|
(Optional) |
string
alias)(Appears on: UpdateRequestStatus)
UpdateRequestState defines the state of request.
(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. |