Package v1beta1 contains API Schema definitions for the policy v1beta1 API group
UpdateRequest is a request to process mutate and generate rules in background.
Field | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apiVersion string |
kyverno.io/v1beta1 |
||||||||||||||
kind string |
UpdateRequest |
||||||||||||||
metadata
*
meta/v1.ObjectMeta
|
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||
spec
*
UpdateRequestSpec
|
ResourceSpec is the information to identify the trigger resource.
|
||||||||||||||
status
UpdateRequestStatus
|
Status contains statistics related to update request. |
(Appears in: UpdateRequestSpecContext)
AdmissionRequestInfoObject stores the admission request and operation details
Field | Description |
---|---|
admissionRequest
admission/v1.AdmissionRequest
|
|
operation
admission/v1.Operation
|
(Appears in: UpdateRequestSpecContext)
RequestInfo contains permission info carried in an admission request.
Field | Description |
---|---|
roles
[]string
|
Roles is a list of possible role send the request. |
clusterRoles
[]string
|
ClusterRoles is a list of possible clusterRoles send the request. |
userInfo
authentication/v1.UserInfo
|
UserInfo is the userInfo carried in the admission request. |
string
alias)(Appears in: UpdateRequestSpec)
(Appears in: 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. |
rule
*
string
|
Rule is the associate rule name of the current UR. |
deleteDownstream
*
bool
|
DeleteDownstream represents whether the downstream needs to be deleted. |
synchronize
*
bool
|
Synchronize represents the sync behavior of the corresponding rule Optional. Defaults to "false" if not specified. |
resource
*
ResourceSpec
|
ResourceSpec is the information to identify the trigger resource. |
context
*
UpdateRequestSpecContext
|
Context ... |
(Appears in: UpdateRequestSpec)
UpdateRequestSpecContext stores the context to be shared.
Field | Description |
---|---|
userInfo
RequestInfo
|
|
admissionRequestInfo
AdmissionRequestInfoObject
|
string
alias)(Appears in: UpdateRequestStatus)
UpdateRequestState defines the state of request.
(Appears in: UpdateRequest)
UpdateRequestStatus defines the observed state of UpdateRequest
Field | Description |
---|---|
handler
*
string
|
Deprecated |
state
*
UpdateRequestState
|
State represents state of the update request. |
message
string
|
Specifies request status message. |
generatedResources
*
[]ResourceSpec
|
This will track the resources that are updated by the generate Policy. Will be used during clean up resources. |
retryCount
*
int
|