Commit fd7d888
committed
feat(helm): add configurable job history limits for heartbeat cronjob
Problem
The heartbeat CronJob had successfulJobsHistoryLimit hardcoded to 0 and
failedJobsHistoryLimit was not set at all. This prevented users from
retaining job history for debugging and monitoring purposes.
Solution
Add successfulJobsHistoryLimit and failedJobsHistoryLimit as configurable
values under the heartbeat section in values.yaml. The template now uses
these values with sensible defaults (0 for successful, 1 for failed).
Validation
- Verified the Helm template renders correctly with default values
- Verified custom values can be passed via --set heartbeat.successfulJobsHistoryLimit=X
Signed-off-by: mfeix <marcel.feix@exxcellent.de>1 parent 2534d7d commit fd7d888
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
509 | 509 | | |
510 | 510 | | |
511 | 511 | | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
512 | 517 | | |
513 | 518 | | |
514 | 519 | | |
| |||
0 commit comments