Configure tektoncd-enhancement ConfigMap via TektonConfig
This guide shows how to manage tektoncd-enhancement-config through TektonConfig using spec.pipeline.options.configMaps.
Namespace Note: Throughout this guide,
<tekton-pipelines>is used as a placeholder for yourTektonnamespace. Replace it with your actual namespace name. The default installation usestekton-pipelinesnamespace.
TOC
PrerequisitesSteps1. Update TektonConfig withspec.pipeline.options.configMaps2. Parameter reference and defaults3. Verify ConfigMap update4. Restart tektoncd-enhancementFAQI updated TektonConfig, but the effective config did not change. What should I check?Prerequisites
- Tekton Operator is installed.
TektonConfigresource exists (usually namedconfig).- You can edit
TektonConfigin your cluster.
Steps
1. Update TektonConfig with spec.pipeline.options.configMaps
The options structure follows the same pattern as described in Adjusting Optional Configuration Items of Subcomponents.
Use a TektonConfig patch like this:
2. Parameter reference and defaults
3. Verify ConfigMap update
After updating TektonConfig, check whether tektoncd-enhancement-config has been reconciled:
4. Restart tektoncd-enhancement
Restart the tektoncd-enhancement workload in namespace <tekton-pipelines>:
FAQ
I updated TektonConfig, but the effective config did not change. What should I check?
Check in this order:
TektonConfigwas updated successfully.tektoncd-enhancement-configin namespace<tekton-pipelines>has the expecteddata.config.tektoncd-enhancementhas been restarted and rollout is complete.