reflect new pooler parameter in validation + define same pooler image everywhere

This commit is contained in:
Felix Kunde
2020-03-04 10:38:01 +01:00
parent 2bba673f1d
commit 4d12615c0d
8 changed files with 35 additions and 32 deletions
@@ -327,18 +327,21 @@ spec:
connection_pool_user:
type: string
#default: "pooler"
connection_pool_number_of_instances:
type: integer
#default: 1
connection_pool_image:
type: string
#default: "registry.opensource.zalan.do/acid/pgbouncer:1.0.0"
#default: "registry.opensource.zalan.do/acid/pgbouncer:master-5"
connection_pool_max_db_connections:
type: integer
#default: 60
connection_pool_mode:
type: string
enum:
- "session"
- "transaction"
#default: "transaction"
connection_pool_number_of_instances:
type: integer
#default: 1
connection_pool_default_cpu_limit:
type: string
pattern: '^(\d+m|\d+(\.\d{1,3})?)$'
+5 -16
View File
@@ -111,8 +111,13 @@ spec:
properties:
dockerImage:
type: string
maxDBConnections:
type: integer
mode:
type: string
enum:
- "session"
- "transaction"
numberOfInstances:
type: integer
minimum: 1
@@ -244,22 +249,6 @@ spec:
type: string
replicaLoadBalancer: # deprecated
type: boolean
connectionPool:
type: object
properties:
schema:
type: string
user:
type: string
number_of_instances:
type: integer
dockerImage:
type: string
mode:
type: string
enum:
- "session"
- "transaction"
resources:
type: object
required: