Skip to main content
Version: 3.10

Tekton Custom Task API Reference

Packages:

edp.epam.com/v1alpha1​

Resource Types:

ApprovalTask​

↩ Parent

ApprovalTask is the Schema for the approvaltasks API

NameTypeDescriptionRequired
apiVersionstringedp.epam.com/v1alpha1true
kindstringApprovalTasktrue
metadataobjectRefer to the Kubernetes API documentation for the fields of the metadata field.true
specobject

ApprovalTaskSpec defines the desired state of ApprovalTask

false
statusobject

ApprovalTaskStatus defines the observed state of ApprovalTask

false

ApprovalTask.spec​

↩ Parent

ApprovalTaskSpec defines the desired state of ApprovalTask

NameTypeDescriptionRequired
actionenum

Action is the action to be taken on the task.


Enum: Pending, Approved, Rejected, Canceled
Default: Pending

false
approveobject

Approve is the approval information.

false
descriptionstring

Description that is shown to the user for the approval action.


Default: Proceed

false

ApprovalTask.spec.approve​

↩ Parent

Approve is the approval information.

NameTypeDescriptionRequired
approvedBystring

ApprovedBy is indicating the identity of the approver.

true
commentstring

Comment is the comment provided by the approver.

false