Skip to content

Bug Report: Profile ‘lite’ is creating extra components #2781

@mbpavan

Description

@mbpavan

Description

When deploying Tekton Operator with spec.profile: lite, the expected components are not being correctly filtered. Unnecessary components like Tekton Results and Chains are being installed, even though they are not part of the lite profile.

Expected Behavior

With spec.profile: lite, the Operator should install only:

tekton pipelines controllers

Actual Behavior

NAME READY STATUS RESTARTS AGE
tekton-chains-controller-5ccfb454f9-cf2v4 1/1 Running 0 4m42s
tekton-events-controller-686ff59c66-29nzx 1/1 Running 0 6m30s
tekton-operator-proxy-webhook-94f785b44-rc7qw 1/1 Running 0 6m29s
tekton-pipelines-controller-d768b6f47-q2ck9 1/1 Running 0 6m30s
tekton-pipelines-remote-resolvers-6fdd86bfb7-8vh7m 1/1 Running 0 6m30s
tekton-pipelines-webhook-6f4784bb55-dmnx2 1/1 Running 0 6m30s
tekton-results-api-6f6f858d79-jrwtc 1/1 Running 0 4m19s
tekton-results-postgres-0 1/1 Running 0 4m19s
tekton-results-retention-policy-agent-5865bf5fd4-9qcxr 1/1 Running 0 4m19s
tekton-results-watcher-779bbf74f7-tmq47 1/1 Running 0 4m19s

Steps to Reproduce the Problem

  1. Install Tekton Operator on a clean Kubernetes/Openshift cluster.

  2. Create a TektonConfig with:

apiVersion: operator.tekton.dev/v1alpha1
kind: TektonConfig
metadata:
name: config
namespace: tekton-pipelines
spec:
profile: lite

  1. Observe pods in tekton-pipelines:

oc get pods -n tekton-pipelines

  1. Note that Results and Chains pods are still running.

Additional Info

  • Kubernetes version:

Client Version: v1.17.0-4-g38212b5
Server Version: v1.32.0

  • Tekton Pipeline version:
    version: v1.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions