postgres-operator/pkg/cluster
Felix Kunde 25ccc87317
sync all resources to cluster fields (#2713)
* sync all resources to cluster fields (CronJob, Streams, Patroni resources)
* separated sync and delete logic for Patroni resources
* align delete streams and secrets logic with other resources
* rename gatherApplicationIds to getDistinctApplicationIds
* improve slot check before syncing streams CRD
* add ownerReferences and annotations diff to Patroni objects
* add extra sync code for config service so it does not get too ugly
* some bugfixes when comparing annotations and return err on found
* sync Patroni resources on update event and extended unit tests
* add config service/endpoint owner references check to e2e tes
2024-08-13 10:06:46 +02:00
..
cluster.go sync all resources to cluster fields (#2713) 2024-08-13 10:06:46 +02:00
cluster_test.go Feat: enable owner references (#2688) 2024-08-09 17:58:25 +02:00
connection_pooler.go sync all resources to cluster fields (#2713) 2024-08-13 10:06:46 +02:00
connection_pooler_new_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
connection_pooler_test.go Feat: enable owner references (#2688) 2024-08-09 17:58:25 +02:00
database.go let operator fix publications without tables (#2722) 2024-08-09 17:20:05 +02:00
exec.go pick first container if postgres is not found (#1505) 2021-05-28 11:44:10 +02:00
filesystems.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
k8sres.go sync all resources to cluster fields (#2713) 2024-08-13 10:06:46 +02:00
k8sres_test.go Feat: enable owner references (#2688) 2024-08-09 17:58:25 +02:00
majorversionupgrade.go bump spilo to 16-3.3, drop support for pg11 (#2706) 2024-08-09 14:47:23 +02:00
pod.go fix: no switchover candidate found with member state "streaming" (#1992) (#2515) 2024-01-24 10:40:58 +01:00
pod_test.go reflect new replica states in unit tests (#2581) 2024-03-15 14:46:36 +01:00
resources.go sync all resources to cluster fields (#2713) 2024-08-13 10:06:46 +02:00
streams.go sync all resources to cluster fields (#2713) 2024-08-13 10:06:46 +02:00
streams_test.go sync all resources to cluster fields (#2713) 2024-08-13 10:06:46 +02:00
sync.go sync all resources to cluster fields (#2713) 2024-08-13 10:06:46 +02:00
sync_test.go change username in secret when switching rotation mode (#2549) 2024-02-22 10:26:13 +01:00
types.go sync all resources to cluster fields (#2713) 2024-08-13 10:06:46 +02:00
util.go Feat: enable owner references (#2688) 2024-08-09 17:58:25 +02:00
util_test.go sync all resources to cluster fields (#2713) 2024-08-13 10:06:46 +02:00
volumes.go Feat: enable owner references (#2688) 2024-08-09 17:58:25 +02:00
volumes_test.go Improve inherited annotations (#2657) 2024-06-26 13:10:37 +02:00