mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 12:31:29 +02:00
Assorted changes
- Update deleteConnectionPooler to include role - Rename EnableMasterConnectionPooler back to original name for backward compatiility - other minor chnages and code improvements
This commit is contained in:
@@ -140,7 +140,7 @@ These parameters are grouped directly under the `spec` key in the manifest.
|
||||
is `false`, then no volume will be mounted no matter how operator was
|
||||
configured (so you can override the operator configuration). Optional.
|
||||
|
||||
* **enableMasterConnectionPooler**
|
||||
* **enableConnectionPooler**
|
||||
Tells the operator to create a connection pooler with a database. If this
|
||||
field is true, a connection pooler deployment will be created even if
|
||||
`connectionPooler` section is empty. Optional, not set by default.
|
||||
@@ -387,7 +387,7 @@ CPU and memory limits for the sidecar container.
|
||||
|
||||
Parameters are grouped under the `connectionPooler` top-level key and specify
|
||||
configuration for connection pooler. If this section is not empty, a connection
|
||||
pooler will be created for a database even if `enableMasterConnectionPooler` is not
|
||||
pooler will be created for a database even if `enableConnectionPooler` is not
|
||||
present.
|
||||
|
||||
* **numberOfInstances**
|
||||
|
||||
+2
-2
@@ -736,7 +736,7 @@ manifest:
|
||||
|
||||
```yaml
|
||||
spec:
|
||||
enableMasterConnectionPooler: true
|
||||
enableConnectionPooler: true
|
||||
```
|
||||
|
||||
This will tell the operator to create a connection pooler with default
|
||||
@@ -772,7 +772,7 @@ spec:
|
||||
memory: 100Mi
|
||||
```
|
||||
|
||||
The `enableMasterConnectionPooler` flag is not required when the `connectionPooler`
|
||||
The `enableConnectionPooler` flag is not required when the `connectionPooler`
|
||||
section is present in the manifest. But, it can be used to disable/remove the
|
||||
pooler while keeping its configuration.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user