postgres-operator/pkg
Raphael Torquato 873dd548ff
Add cluster_labels and annotations to logical backup CronJob and Jobs (#3085)
* 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
2026-06-10 18:18:54 +02:00
..
apis Fix bool config defaults when using OperatorConfiguration CRD (#3084) 2026-06-03 13:00:51 +02:00
apiserver Add operator deployment readiness probe (#1874) 2023-01-05 18:29:47 +01:00
cluster Add cluster_labels and annotations to logical backup CronJob and Jobs (#3085) 2026-06-10 18:18:54 +02:00
controller Fix bool config defaults when using OperatorConfiguration CRD (#3084) 2026-06-03 13:00:51 +02: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 fix: set password encryption default to scram-sha-256 (#2962) 2026-06-04 20:55:04 +02:00