Skip to content

tekton Plugin

This plugin installs tekton in an existing Kubernetes cluster using the Helm chart.

Usage

YAML
tools:
  # name of the tool
  - name: tekton
    # id of the tool instance
    instanceID: default
    # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool.
    dependsOn: [ ]
    # options for the plugin
    options:
      repo:
        # name of the Helm repo
        name: tekton
        # url of the Helm repo, use self host helm config beacuse official helm does'nt support namespace config
        url: https://steinliber.github.io/tekton-helm-chart/
      # Helm chart information
      chart:
        # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz"
        chartPath: ""
        # name of the chart
        chartName: tekton/tekton-pipeline
        # k8s namespace where Tekton will be installed
        namespace: tekton
        # release name of the chart
        releaseName: tekton
        # whether to wait for the release to be deployed or not
        wait: true
        # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s
        timeout: 5m
        # whether to perform a CRD upgrade during installation
        upgradeCRDs: true
        valuesYaml: |
          serviceaccount:
            enabled: true

Default Configs

key default value description
chart.chartPath "" local chart path
chart.chartName tekton/tekton-pipeline chart name
chart.timeout 5m this config will wait 5 minutes to deploy
chart.upgradeCRDs true default update CRD config
chart.releaseName tekton helm release name
chart.wait true whether to wait until installation is complete
chart.namespace tekton namespace where helm to deploy
repo.url https://steinliber.github.io/tekton-helm-chart/ helm community repo address
repo.name tekton helm repo name

Currently, except for valuesYaml and default configs, all the parameters in the example above are mandatory.