Manual Approval Gate is a Kubernetes Custom Resource Definition (CRD) controller. You can use it to add manual approval points in pipeline so that the pipeline wait at that point and waits for a manual approval before continuing execution
You can refer the ApprovalTask in the pipeline similar to how we refer Task today
- name: wait
taskRef:
apiVersion: openshift-pipelines.org/v1alpha1
kind: ApprovalTask
params:
- name: approvers
value:
- foo
- bar
- tekton
- name: numberOfApprovalsRequired
value: 2
- name: description
value: Approval Task Rocks!!!
While referring the approvalTask in the pipelinerun following params need to be added
Support for multiple users
A webhook is configured while you install manual-approval-gate which will take care of all the checks which are required while the approver approves/rejects the approvalTask
Users can add timeout to the approvalTask
As of today once the timeout exceeds, approvalTask state is marked as rejected and correspondingly customrun and pipelinerun will be failed
Users can add messages while approving/rejecting the approvalTask
tkn-approvaltask
CLI for managing approvaltasks
make apply
make TARGET=openshift apply