WIP Connection pooler support

Add an initial support for a connection pooler. The idea is to make it
generic enough to be able to switch a corresponding docker image to
change from pgbouncer to e.g. odyssey. Operator needs to create a
deployment with pooler and a service for it to access.
This commit is contained in:
Dmitrii Dolgov
2020-02-13 13:42:28 +01:00
parent 744c71d16b
commit be438b77e6
16 changed files with 513 additions and 20 deletions
+2
View File
@@ -17,3 +17,5 @@ spec:
foo: zalando # dbname: owner
postgresql:
version: "11"
connectionPool:
type: "pgbouncer"
@@ -119,6 +119,7 @@ rules:
- apps
resources:
- statefulsets
- deployments
verbs:
- create
- delete