Tekton Custom Task API Reference
Packages:
edp.epam.com/v1alpha1​
Resource Types:
ApprovalTask​
↩ ParentApprovalTask is the Schema for the approvaltasks API
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | edp.epam.com/v1alpha1 | true |
| kind | string | ApprovalTask | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | ApprovalTaskSpec defines the desired state of ApprovalTask | false |
| status | object | ApprovalTaskStatus defines the observed state of ApprovalTask | false |
ApprovalTask.spec​
↩ ParentApprovalTaskSpec defines the desired state of ApprovalTask
| Name | Type | Description | Required |
|---|---|---|---|
| action | enum | Action is the action to be taken on the task. Enum: Pending, Approved, Rejected, Canceled | false |
| approve | object | Approve is the approval information. | false |
| description | string | Description that is shown to the user for the approval action. Default: Proceed | false |
ApprovalTask.spec.approve​
↩ ParentApprove is the approval information.
| Name | Type | Description | Required |
|---|---|---|---|
| approvedBy | string | ApprovedBy is indicating the identity of the approver. | true |
| comment | string | Comment is the comment provided by the approver. | false |