Commit Graph

8 Commits

Author SHA1 Message Date
Jan Mußler 5538d0ec71 Improve the extra labels function. 2020-11-23 16:46:43 +01:00
Rafia Sabih 6c1084972b refactor poolerLabels function 2020-11-19 15:03:08 +01:00
Rafia Sabih eb640ebd97 remove redundant cluster-name 2020-11-19 09:10:01 +01:00
Rafia Sabih 5b93d210ff remove redundant namespace 2020-11-16 17:04:31 +01:00
Rafia Sabih 85c1314cff fix manifest 2020-11-16 16:34:46 +01:00
Rafia Sabih 2a4de7f153 fix name 2020-11-16 10:35:01 +01:00
Rafia Sabih e30b6a5670 Avoid modifying pooler deployment selector labels 2020-11-16 10:03:42 +01:00
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