-
- Downloads
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
Showing
- docs/administrator.md 2 additions, 3 deletionsdocs/administrator.md
- e2e/tests/test_e2e.py 16 additions, 13 deletionse2e/tests/test_e2e.py
- pkg/cluster/cluster.go 30 additions, 107 deletionspkg/cluster/cluster.go
- pkg/cluster/connection_pooler.go 1 addition, 1 deletionpkg/cluster/connection_pooler.go
- pkg/cluster/k8sres.go 5 additions, 11 deletionspkg/cluster/k8sres.go
- pkg/cluster/resources.go 121 additions, 21 deletionspkg/cluster/resources.go
- pkg/cluster/streams.go 91 additions, 81 deletionspkg/cluster/streams.go
- pkg/cluster/streams_test.go 118 additions, 40 deletionspkg/cluster/streams_test.go
- pkg/cluster/sync.go 167 additions, 8 deletionspkg/cluster/sync.go
- pkg/cluster/types.go 1 addition, 0 deletionspkg/cluster/types.go
- pkg/cluster/util_test.go 114 additions, 17 deletionspkg/cluster/util_test.go
Loading
Please register or sign in to comment