postgres-operator/pkg
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
..
apis feat(logical-backup): add configurable job history limits and TTL 2026-05-06 10:45:40 +01:00
apiserver Add operator deployment readiness probe (#1874) 2023-01-05 18:29:47 +01:00
cluster feat(logical-backup): add configurable job history limits and TTL 2026-05-06 10:45:40 +01:00
controller feat(logical-backup): add configurable job history limits and TTL 2026-05-06 10:45:40 +01:00
generated Regenerate code for 2026 header (#3029) 2026-01-09 15:38:16 +01:00
spec Generate CRD for postgresteam resource (#3004) 2026-01-10 19:39:08 +01:00
teams Generate CRD for postgresteam resource (#3004) 2026-01-10 19:39:08 +01:00
util feat(logical-backup): add configurable job history limits and TTL 2026-05-06 10:45:40 +01:00