Commit Graph

9 Commits

Author SHA1 Message Date
Felix Kunde 6be1b0ce43 no need for len check anymore 2020-12-10 15:45:29 +01:00
Felix Kunde 4d18f788d2 make annotations setter one liners 2020-12-10 15:41:07 +01:00
Felix Kunde 5a0d97d3d9 fix checkinng sts and deployment 2020-12-09 17:23:46 +01:00
Felix Kunde f6212da046 minor changes 2020-12-08 16:46:39 +01:00
Felix Kunde ce8a0d6f5b add pvc to test + minor changes 2020-12-07 18:34:00 +01:00
Felix Kunde 63e7304a0e add inheritedAnnotations feature 2020-12-04 15:13:55 +01:00
Felix Kunde c4b1d69ef9 add comments where inherited annotations could be added 2020-11-30 17:18:11 +01:00
Jan Mussler c4ae11629b
Fix connection pooler deployment selectors (#1213)
Stick with the existing pooler deployment selector labels to make it compatible with existing deployments.

Make the use of additional labels clear and avoid where not needed.

Deployment Selector and Service Selector now do not use extra labels, pod spec does.
2020-11-23 17:18:18 +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