Skip to content

brokenpip3/tekton-pipelines-raw-manifests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tekton pipelines raw manifests

Why?

If you need to install tekton pipelines https://github.com/tektoncd/pipeline with a gitops like mechanism (ex: Flux) there is an official helm chart that does not provide any solid values (only auth e docker-registry, see: https://github.com/cdfoundation/tekton-helm-chart/blob/master/charts/tekton-pipeline/values.yaml).

This repo contains a ci flow that produce, update and tag any new tekton operator version in raw k8s yaml files.

How it works?

  • Check if new operator version is present
  • Download the official manifest and split them by kind and name
  • Commit the changes and tag a new release in this repo

See new-release and github-ci

How to use it with Flux

---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
  name: tekton-pipelines-raw
  namespace: flux-system
spec:
  interval: 10m
  url: https://github.com/brokenpip3/tekton-pipelines-raw-manifests
  ref:
    tag: v0.23.0-2
  ignore: |
    .github/
    hack/
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
  name: tekton-pipelines-raw
  namespace: flux-system
spec:
  interval: 10m
  path: ./deploy
  prune: true
  sourceRef:
    kind: GitRepository
    name: tekton-pipelines-raw
  timeout: 2m0s
  validation: client
...

Disclaimer: I encourage you to fork this repo instead of using it this a source of truth, never trust anyone.