Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-3785

Configuring Pipelines Operator using the TektonConfig CRD

    XMLWordPrintable

Details

    • devex docs #221 Jun 30-Jul 21, devex docs #222 Jul 21-Aug 11, devex docs #223 Aug 11-Sep 1, devex docs #224 Sep 1-Sep 22, devex docs #226 Oct 13-Nov 3, devex docs #227 Nov 3-Nov 24, devex docs #228 Nov 24-Dec 15, devex docs #229 Dec 15-Jan 5, devex docs #230 Jan 5-Jan 26, devex docs #231 Jan 26-Feb 16, devex docs #232 Feb 16-Mar 9, devex docs #233 Mar 9-Mar 30, devex docs #234 Mar 30-Apr 6, devex docs #235 Apr 6-Apr 20, devex docs #236 Apr 20-May 4, devex docs #237 May 4-May 18, devex docs #238 May 18-June 1
    • 13

    Description

      Add docs for configuring OpenShift Pipelines behaviour through the configurations exposed in TektonConfig CR. The areas to cover are at minimum the following:

      • Tekton control plane configurations
      • Disabling clustertasks and pipelines templates
      • Changing the default service account
      • Disabling the automated management of RBAC
      • Pruning

      Note that most of the above are available in the release notes and need to get copied to a single doc that covers all configuration aspects.

      Here is the default TektonConfig CR:

      apiVersion: operator.tekton.dev/v1alpha1
      kind: TektonConfig
      metadata:
        name: config
      spec:
        addon:
          params:
            - name: clusterTasks
              value: 'true'
            - name: pipelineTemplates
              value: 'true'
        pipeline:
          running-in-environment-with-injected-sidecars: true
          metrics.taskrun.duration-type: histogram
          disable-home-env-overwrite: true
          metrics.pipelinerun.duration-type: histogram
          params:
            - name: enableMetrics
              value: 'true'
          default-service-account: pipeline
          disable-working-directory-overwrite: true
          scope-when-expressions-to-task: false
          require-git-ssh-secret-known-hosts: false
          enable-tekton-oci-bundles: false
          metrics.taskrun.level: task
          metrics.pipelinerun.level: pipeline
          enable-api-fields: stable
          enable-custom-tasks: false
          disable-creds-init: false
          disable-affinity-assistant: true
        config: {}
        params:
          - name: createRbacResource
            value: 'true'
        pruner:
          keep: 100
          resources:
            - pipelinerun
          schedule: 0 8 * * *
        profile: all
        targetNamespace: openshift-pipelines
        dashboard:
          readonly: false
        trigger:
          default-service-account: pipeline
          enable-api-fields: stable
      

      Attachments

        Activity

          People

            eromanov@redhat.com Eliska Romanova
            ssadeghi@redhat.com Siamak Sadeghianfar
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: