Skip to content

Tekton operator - unable to change tekton components instance images #2855

@sybernatus

Description

@sybernatus

Expected Behavior

I'm trying to change the image for my tekton instance through the operator installation following this doc.
I want to change the images pulled by tekton components using the environment variables to pull them from an internal registry.

Actual Behavior

Actually I managed to change the operator images by applying a patch and also the tekton job pruner by adding the following environment on the tekton-operator-lifecycle container:

 - name: IMAGE_JOB_PRUNER_TKN
   value: <custom-mirrored-registry>/tektoncd/plumbing/tkn:v20250709-7c1b62c275

This is working as expected ✔️

But when I try to do the same thing with others environment variables:

- name: IMAGE_DASHBOARD_TEKTON_DASHBOARD
  value: <custom-mirrored-registry>/tektoncd/dashboard/dashboard-9623576a202fe86c8b7d1bc489905f86:v0.52.0
- name: IMAGE_PIPELINES_TEKTON_PIPELINES_CONTROLLER
  value: <custom-mirrored-registry>/tektoncd/pipeline/controller-10a3e32792f33651396d02b6855a6e36:v0.65.2

The image won't change and be still the ghr ones. ❌

Steps to Reproduce the Problem

  1. Add env variables to the Deployment tekton-operator under tekton-operator-lifecycle container
  2. Remove tekton pipeline controller & tekton dashboard deployments
  3. Operator will recreate them with the ghr images.

Additional Info

  • Tekton Pipeline version: v0.65.2

  • Tekton Operator version: v0.74.0

  • Kubernetes version: v1.31.7

    Server Version: version.Info{Major:"1", Minor:"31", GitVersion:"v1.31.7",  GitCommit:"da53587841b4960dc3bd2af1ec6101b57c79aff4", GitTreeState:"clean", BuildDate:"2025-03-11T19:55:18Z", GoVersion:"go1.23.6", Compiler:"gc", Platform:"linux/amd64"}
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    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