mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 04:11:23 +02:00
Add global option to enable/disable init containers and sidecars (#478)
* Add global option to enable/disable init containers and sidecars * update dependencies
This commit is contained in:
@@ -350,6 +350,10 @@ variables are always passed to sidecars:
|
||||
The PostgreSQL volume is shared with sidecars and is mounted at
|
||||
`/home/postgres/pgdata`.
|
||||
|
||||
**Note**: The operator will not create a cluster if sidecar containers are
|
||||
specified but globally disabled in the configuration. The `enable_sidecars`
|
||||
option must be set to `true`.
|
||||
|
||||
## InitContainers Support
|
||||
|
||||
Each cluster can specify arbitrary init containers to run. These containers can
|
||||
@@ -374,6 +378,10 @@ spec:
|
||||
|
||||
`initContainers` accepts full `v1.Container` definition.
|
||||
|
||||
**Note**: The operator will not create a cluster if `initContainers` are
|
||||
specified but globally disabled in the configuration. The
|
||||
`enable_init_containers` option must be set to `true`.
|
||||
|
||||
## Increase volume size
|
||||
|
||||
PostgreSQL operator supports statefulset volume resize if you're using the
|
||||
|
||||
Reference in New Issue
Block a user