-
Bug
-
Resolution: Unresolved
-
Major
-
Pipelines 1.21.0
Description of problem:
PipelineRuns, TaskRuns & enforcedConfigLevel fields getting added inside namespaces block when setting namespace level config for tektonpruner
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Install 1.21 OSP
- Disable old pruner & enable tektonpruner
- Set enforcedConfigLevel from global to namespace
- Set fields successfulHistoryLimit, ttlSecondsAfterFinished in namespace block for test namespace
Actual results:
PipelineRuns, TaskRuns & enforcedConfigLevel fields getting added inside namespaces block when setting namespace level config.
enforcedConfigLevel shouldn't be updating again under namespace block as we are controlling at root level.
tektonpruner: disabled: false global-config: enforcedConfigLevel: namespace failedHistoryLimit: 7 historyLimit: 10 namespaces: dev: PipelineRuns: null TaskRuns: null enforcedConfigLevel: null failedHistoryLimit: null historyLimit: null successfulHistoryLimit: 3 ttlSecondsAfterFinished: 300 successfulHistoryLimit: null ttlSecondsAfterFinished: 6000
Expected results:
The above configured fields should be set and other default fields should be set to null
Reproducibility (Always/Intermittent/Only Once):
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):
*
- is related to
-
SRVKP-7743 Event Based Pruner - GA
-
- In Progress
-