postgres-operator/pkg/cluster
Raphael Torquato 498ab8a928 Add cluster_labels and annotations to logical backup CronJob and Jobs
When using the logical backup feature, the CronJob and its created Jobs
were missing the cluster_labels and annotations that are applied to
other cluster resources. This made it difficult to filter or identify
backup jobs using the same labels as other cluster components.

Changes:
- Added ObjectMeta with labels and annotations to JobTemplateSpec
- Updated CronJob ObjectMeta to use the merged labels (including
  'application: spilo-logical-backup')
- Updated tests to expect the new labels

Fixes #1834
2026-04-26 12:43:31 -03:00
..
cluster.go fix: invalid switchover scheduling with default maintenance windows (#3058) 2026-03-24 12:57:15 +01:00
cluster_test.go Do not set aws-load-balancer-connection-idle-timeout by default (#3054) 2026-04-24 14:23:54 +02:00
connection_pooler.go Do not set aws-load-balancer-connection-idle-timeout by default (#3054) 2026-04-24 14:23:54 +02:00
connection_pooler_new_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
connection_pooler_test.go reflect linter feedback, remove unused argumnents and redundant type from arrays (#2739) 2024-08-27 17:56:07 +02:00
database.go stop retention user cleanup early again when DB connection attempt fails (#2999) 2025-12-10 10:01:07 +01:00
exec.go fix golangci-lint issues (#2715) 2024-08-14 12:54:44 +02:00
filesystems.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
k8sres.go Add cluster_labels and annotations to logical backup CronJob and Jobs 2026-04-26 12:43:31 -03:00
k8sres_test.go Add cluster_labels and annotations to logical backup CronJob and Jobs 2026-04-26 12:43:31 -03:00
majorversionupgrade.go Remove hardcoded VersionMap from majorversionupgrade (#3043) 2026-03-02 11:13:10 +01:00
pod.go add support for global maintenance windows (#3038) 2026-01-30 11:37:21 +01:00
pod_test.go fix switch over candidate retrieving (#2760) 2024-11-01 17:06:20 +01:00
resources.go bump dependencies and reflect linter suggestions (#2963) 2025-10-16 10:23:36 +02:00
streams.go do not remove publications of slot defined in manifest (#2868) 2025-02-26 17:31:37 +01:00
streams_test.go fix flaky comparison unit test of retruned errors (#2822) 2024-12-19 17:35:01 +01:00
sync.go Avoid rotating pods for PGVERSION change outside of maintenance window (#3065) 2026-04-07 12:16:55 +02:00
sync_test.go do not reset secrets of standby clusters (#3044) 2026-02-26 17:27:47 +01:00
types.go Critical operation PDB (#2830) 2025-01-29 12:41:08 +01:00
util.go feature toggle for using maintenance windows (#3074) 2026-04-16 17:13:18 +02:00
util_test.go feature toggle for using maintenance windows (#3074) 2026-04-16 17:13:18 +02:00
volumes.go upgrade Go from 1.23.4 to 1.25.0 (#2945) 2025-08-19 14:40:39 +02:00
volumes_test.go Add support for EBS CSI Driver (#2677) 2024-12-19 12:32:09 +01:00