postgres-operator/pkg/util
Jairo Llopis fbfae0e3df
feat(logical-backup): add configurable job history limits and TTL
Adds three new configuration options for logical backup cronjobs:
- logical_backup_successful_jobs_history_limit (default: 3)
- logical_backup_failed_jobs_history_limit (default: 3)
- logical_backup_ttl_seconds_after_finished (default: 86400)

These options control how many completed/failed backup jobs are
retained by Kubernetes and when finished jobs are automatically
deleted. This prevents accumulation of old backup jobs and pods
in namespaces with many PostgreSQL clusters.

Also updates the CronJob comparison logic to detect changes in
these new fields and trigger reconciliation when needed.

Closes zalando/postgres-operator#1092
2026-05-06 10:45:40 +01:00
..
config feat(logical-backup): add configurable job history limits and TTL 2026-05-06 10:45:40 +01:00
constants Do not set aws-load-balancer-connection-idle-timeout by default (#3054) 2026-04-24 14:23:54 +02:00
filesystems Fix golint warnings 2017-08-01 16:08:56 +02:00
httpclient Modernize code generation (#3003) 2026-01-09 14:22:10 +01:00
k8sutil Use UpdateStatus instead of patch (#3005) 2026-01-27 10:44:30 +01:00
nicediff End 2 End tests speedup (#1180) 2020-10-28 10:04:33 +01:00
patroni Extend MaintenanceWindows parameter usage (#2810) 2025-01-15 18:04:36 +01:00
retryutil Fix typo (#965) 2020-05-12 09:20:09 +02:00
ringlog fix comments for ringlogger 2017-09-26 13:12:38 +02:00
teams add test team member (#1842) 2022-04-14 10:02:54 +02:00
users skip db user actions when its secret failed to sync on update (#2969) 2025-11-05 16:28:37 +01:00
volumes Modernize code generation (#3003) 2026-01-09 14:22:10 +01:00
util.go fix golangci-lint issues (#2715) 2024-08-14 12:54:44 +02:00
util_test.go add unit test and documentation for finalizers (#2509) 2024-01-22 12:13:40 +01:00