-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Expected Behavior
I have a running tekton operator, I'm trying to change my configuration for the Tekton pruner as follow:
apiVersion: operator.tekton.dev/v1alpha1
kind: TektonConfig
name: config
spec:
...
pruner:
disabled: false
keep: 30
prune-per-resource: false # turn prune per resource from true to false
resources:
- pipelinerun
schedule: 0 * * * *
...When applying this new configuration, the prune-per-resource is removed from the tekton config.
the controller print the following error
{"level":"info","timestamp":"2026-02-05T09:38:45.787Z","logger":"tekton-operator-lifecycle.event-broadcaster","caller":"record/event.go:364","msg":"Event(v1.ObjectReference{Kind:\"TektonConfig\", Namespace:\"\", Name:\"config\", UID:\"129e0a95-ac04-4ef2-9702-f17a7844f08b\", APIVersion:\"operator.tekton.dev/v1alpha1\", ResourceVersion:\"922398201\", FieldPath:\"\"}): type: 'Warning' reason: 'InternalError' reconcile again and proceed","commit":"9ae359b-dirty","knative.dev/pod":"tekton-operator-599dcf6d79-hh7l6"}
Actual Behavior
Should be taken into account in the configuration.
Steps to Reproduce the Problem
- turn prune-per-resource to false in TektonConfig
- apply the resource
Additional Info
-
Kubernetes version:
Output of
kubectl version: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"} -
Tekton Pipeline version: v0.65.2
-
Tekton Operator version: v0.74.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.