ApprovalTask [openshiftpipelines.org/v1alpha1]
- Description
- ApprovalTask is a "wait for manual approval" Task.
- Type
object- Required
status
Specification
.spec
- Description
- Spec holds the desired state of the TaskGroup from the client
- Type
object- Required
approversnumberOfApprovalsRequired
.spec.approvers
- Type
array
.spec.approvers[]
- Type
object- Required
inputnametype
.spec.approvers[].users
- Type
array
.spec.approvers[].users[]
- Type
object- Required
inputname
.status
- Type
object- Required
state
.status.annotations
- Description
- Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.
- Type
object
.status.approvers
- Type
array
.status.approvers[]
- Type
string
.status.approversResponse
- Type
array
.status.approversResponse[]
- Type
object- Required
nameresponsetype
.status.approversResponse[].groupMembers
- Type
array
.status.approversResponse[].groupMembers[]
- Type
object- Required
nameresponse
.status.conditions
- Description
- Conditions the latest available observations of a resource's current state.
- Type
array
.status.conditions[]
- Description
- Condition defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
- Type
object- Required
statustype
API Endpoints
The following API endpoints are available:
/apis/openshiftpipelines.org/v1alpha1/namespaces/{namespace}/approvaltasksDELETE: delete collection of ApprovalTaskGET: list objects of kind ApprovalTaskPOST: create a new ApprovalTask
/apis/openshiftpipelines.org/v1alpha1/namespaces/{namespace}/approvaltasks/{name}DELETE: delete the specified ApprovalTaskGET: read the specified ApprovalTaskPATCH: partially update the specified ApprovalTaskPUT: replace the specified ApprovalTask
/apis/openshiftpipelines.org/v1alpha1/namespaces/{namespace}/approvaltasks/{name}/statusGET: read status of the specified ApprovalTaskPATCH: partially update status of the specified ApprovalTaskPUT: replace status of the specified ApprovalTask
/apis/openshiftpipelines.org/v1alpha1/namespaces/{namespace}/approvaltasks
- HTTP method
DELETE- Description
- delete collection of ApprovalTask
- HTTP responses
- HTTP method
GET- Description
- list objects of kind ApprovalTask
- HTTP responses
- HTTP method
POST- Description
- create a new ApprovalTask
- Query parameters
- Body parameters
- HTTP responses
/apis/openshiftpipelines.org/v1alpha1/namespaces/{namespace}/approvaltasks/{name}
- HTTP method
DELETE- Description
- delete the specified ApprovalTask
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified ApprovalTask
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified ApprovalTask
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified ApprovalTask
- Query parameters
- Body parameters
- HTTP responses
/apis/openshiftpipelines.org/v1alpha1/namespaces/{namespace}/approvaltasks/{name}/status
- HTTP method
GET- Description
- read status of the specified ApprovalTask
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified ApprovalTask
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified ApprovalTask
- Query parameters
- Body parameters
- HTTP responses