Manual Approval GateManual Approval Gate provides the cluster-scoped controller and webhooks that back ApprovalTask custom tasks. Administrators must create and maintain the ManualApprovalGate custom resource (CR) so that platform users can insert manual approvals in their pipelines. This guide explains how to deploy the Manual Approval Gate component in tekton-pipelines, customize runtime options, and uninstall it safely.
options contract instead of editing manifests.Alauda DevOps Pipelines v4.5.0 or later with cluster-admin access.kubectl configured against the target cluster.ManualApprovalGate CRSave the manifest as manual-approval-gate.yaml and apply it:
spec.targetNamespace determines where controller deployments, webhooks, and ConfigMaps are created. We recommend tekton-pipelines so that the component stays beside other Tekton services, but you can point it to any namespace as long as that namespace exists (or is created) before applying the CR.spec.options to override Deployments, ConfigMaps, or image fields without editing generated YAML. For detailed syntax, refer to Adjusting Optional Configuration Items of Subcomponents.The CR's READY condition must report True, and you should see controller and webhook Deployments running in tekton-pipelines.
Patch the CR to adjust replicas or other options; the Operator rolls the workloads automatically:
Manual Approval GateThe CRD remains installed so you can recreate the CR later, but Deployments, Services, and Webhooks should disappear.
kubectl get manualapprovalgates shows the instance with READY=True, VERSION=<release>, and REASON empty or Installed.kubectl get pods -n tekton-pipelines | grep manual-approval-gate lists controller and webhook pods in Running state.ApprovalTask resources until the CR is recreated.ManualApprovalGate CR stuck in NotReady: Run kubectl describe manualapprovalgate manual-approval-gate to check events, then review Operator logs (kubectl logs -n tekton-operator deploy/tekton-operator). Mis-typed fields in spec.options or insufficient privileges are the most common root causes.tekton-pipelines to confirm whether TLS secrets or configuration maps are missing. Reapplying the CR usually recreates these resources automatically.ApprovalTask resources not created: Ensure the ManualApprovalGate CR still exists with READY=True. If it was deleted or is failing, reinstall it before users rerun pipelines.