-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Open
Copy link
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Milestone
Description
Expected Behavior
Updating a namespace-level pruner ConfigMap should immediately reconcile and enforce the new pruning limits. The number of retained PipelineRuns should match the updated ConfigMap values without requiring additional PipelineRun events.
Actual Behavior
When a namespace-level pruner ConfigMap is updated, pruning does not occur immediately.
The new configuration is only applied after a PipelineRun completes (Succeeded or Failed) in the affected namespace.
Steps to Reproduce the Problem
- Create a namespace-level pruner ConfigMap that overrides global pruning settings.
- Create PipelineRuns in the namespace until pruning occurs (works as expected).
- Update the namespace-level ConfigMap with new pruning values.
- Observe that pruning does not occur after the update.
- Trigger a new PipelineRun and wait for it to complete.
- Observe that pruning now occurs using the updated configuration.
Additional Info
-
Kubernetes version: 1.29.15
-
Tekton Pipeline version: 1.6.0
-
Tekton Pruner version: 0.3.4
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.