Skip to content

Overview

Tekton is a powerful and flexible open-source framework for creating CI/CD systems, allowing developers to build, test, and deploy across cloud providers and on-premise systems.

---
title: Tekton CI
---
flowchart TB

    subgraph rbac
        direction LR
        subgraph cluster Scoped
            tekton-cr["ClusterRole"] --> tekton-crb["ClusterRoleBinding"]
        end

        role-ci["Role: \n name: tekton-serviceaccount \n namespace: default"] --> tekton-sa["ServiceAccount: \n name: tekton-serviceaccount \n namespace: default"]
        tekton-crb --> tekton-sa



    end

    subgraph pipeline
        direction TB
        clone("name: clone \nTaskRef: git-clone")
        build("name: build \nTaskRef: kaniko")
        deploy("name: deploy \nTaskRef: helm-upgrade")
        notify("name: notify \nTaskRef: sendmail")
        clone ==> build ==> deploy ==> notify

    end


    pipelineRun("PipelineRun: \n serivceAccount: tekton-serviceaccount\n pipelineRef: clone-build-push \n namespace: default") -->  pipeline
    tekton-sa  --> pipelineRun