postgres-operator/pkg/cluster
Rafia Sabih 49158ecb68
Connection pooler for replica (#1127)
* Enable connection pooler for replica
* Refactor code for connection pooler
  - Move all the relevant code to a separate file
  - Move all the related tests to a separate file
  - Avoid using cluster where not required
  - Simplify the logic in sync and other methods
  - Cleanup of duplicated or unused code
* Fix labels for the replica pods
* Update deleteConnectionPooler to include role
* Adding test cases and other changes
   - Fix unit test and delete secret when required only
   - Make sure we use empty fresh cluster for every test case.
* enhance e2e test
* Disable pooler in complete manifest as this is source for e2e too an creates unnecessary pooler setups.

Co-authored-by: Rafia Sabih <rafia.sabih@zalando.de>
Co-authored-by: Jan Mussler <janm81@gmail.com>
2020-11-13 14:52:21 +01:00
..
cluster.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
cluster_test.go delete secrets of system users too (#974) 2020-05-14 11:34:02 +02:00
connection_pooler.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
connection_pooler_new_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
connection_pooler_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
database.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
exec.go Move operator to go 1.14 (#882) 2020-03-30 15:50:17 +02:00
filesystems.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
k8sres.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
k8sres_test.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
pod.go End 2 End tests speedup (#1180) 2020-10-28 10:04:33 +01:00
resources.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
sync.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
types.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
util.go Connection pooler for replica (#1127) 2020-11-13 14:52:21 +01:00
volumes.go check resize mode on update events (#1194) 2020-11-11 13:22:43 +01:00
volumes_test.go check resize mode on update events (#1194) 2020-11-11 13:22:43 +01:00