Installation Overview
Pipelines as Code supports multiple installation methods depending on your platform and requirements. This guide will help you choose the right installation method for your environment.Installation Methods
Choose the installation method that best fits your platform:OpenShift
If you’re running on OpenShift, you have two primary options:-
Red Hat OpenShift Pipelines Operator (Recommended)
- Automated installation and updates
- Integrated with OpenShift ecosystem
- Managed configuration through TektonConfig CR
- Default namespace:
openshift-pipelines - See Installing on OpenShift
-
Manual Installation
- Direct control over deployment
- Suitable for custom configurations
- Requires manual updates
Kubernetes
For standard Kubernetes clusters (including Minikube, Kind, GKE, EKS, AKS):-
kubectl apply (Recommended)
- Simple one-command installation
- Works on any Kubernetes 1.27+ cluster
- See Installing on Kubernetes
-
tkn pac bootstrap
- Interactive CLI-guided setup
- Includes optional webhook forwarder for local development
- Automatically configures Git providers
Prerequisites
Before installing Pipelines as Code, ensure you have the following:CLI Tools
kubectlfor cluster access- Optional:
tknCLI for Tekton operations - Optional:
tkn-pacCLI for Pipelines as Code operations
Installation Workflow
The typical installation workflow consists of:Install Prerequisites
Ensure your cluster meets the requirements and install Tekton Pipelines if not already present.
Install Pipelines as Code
Choose your installation method:
Configure Ingress/Route
Set up external access to the Pipelines as Code controller:
- OpenShift: Route is automatically created
- Kubernetes: Configure an Ingress or use a webhook forwarder
Version Information
The installation commands on this site reference the
stable branch, which points to the latest stable release. For the latest development version, replace stable with nightly in the URLs.Stable Release
Install the latest stable version:Nightly Release
Install the latest development version:What Gets Installed
When you install Pipelines as Code, the following components are deployed:Namespace
- Namespace:
pipelines-as-code - This namespace hosts the Pipelines as Code infrastructure and should be accessible only to cluster administrators
Core Components
- Controller: Manages Repository CRDs, processes Git events, and creates PipelineRuns
- Webhook: Validates and mutates Pipelines as Code custom resources
- Watcher: Monitors PipelineRun status and reports back to Git providers
Custom Resources
- Repository CRD: Defines the connection between Git repositories and namespaces
- Configuration stored in ConfigMaps and Secrets
RBAC
Cluster roles and role bindings for:- Controller service account permissions
- User permissions to create Repository CRDs
- Webhook admission control
Next Steps
After understanding the installation options:- Review the Prerequisites and Requirements
- Follow the installation guide for your platform:
- Configure your Git provider integration
- Create your first Repository CR and pipeline
Getting Help
If you encounter issues during installation:- Check the Troubleshooting Guide
- Visit GitHub Discussions
- Join the
#pipelinesascodechannel on Tekton Slack