The pipeline-controller is a Kubernetes controller offering an API (in terms of the Pipeline
CRD) and automation for implementing continuous delivery (CD) pipelines in an unopinionated fashion. The API allows for defining a pipeline comprised of multiple environments and deployment targets, typically different clusters serving different purposes, e.g. "dev", "staging", "prod". The controller then tracks applications deployed to those environments and provides visibility into their progress while they make their way through the environments.
One part of this project is an API to define a continuous delivery pipeline. Please see the Go types here for details on this API.
Another part this project offers is an API and machinery for promoting applications through environments. The following image provides an overview of how the promotion flow is implemented (an editable version of this image is maintained in Miro):
- Install the CRD on your cluster:
make install
- Run the controller:
make run
To make it easier to develop on the controller, you can add example pipeline resources:
# Github
kubectl apply --recursive -f e2e/testdata/pipelines/github/
# Gitlab
kubectl apply --recursive -f e2e/testdata/pipelines/gitlab/
Check out how to contribute to the project.