mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 18:39:41 +02:00
Ability to set pod environment variables on cluster resource (#1794)
* Ability to set pod environment variables on cluster resource Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
co-authored by
Felix Kunde
parent
43e18052c4
commit
9bcb25ac7e
@@ -49,6 +49,10 @@ spec:
|
||||
shared_buffers: "32MB"
|
||||
max_connections: "10"
|
||||
log_statement: "all"
|
||||
# env:
|
||||
# - name: wal_s3_bucket
|
||||
# value: my-custom-bucket
|
||||
|
||||
volume:
|
||||
size: 1Gi
|
||||
# storageClass: my-sc
|
||||
@@ -120,7 +124,7 @@ spec:
|
||||
# database: foo
|
||||
# plugin: pgoutput
|
||||
ttl: 30
|
||||
loop_wait: &loop_wait 10
|
||||
loop_wait: 10
|
||||
retry_timeout: 10
|
||||
synchronous_mode: false
|
||||
synchronous_mode_strict: false
|
||||
|
||||
@@ -194,6 +194,12 @@ spec:
|
||||
type: boolean
|
||||
enableShmVolume:
|
||||
type: boolean
|
||||
env:
|
||||
type: array
|
||||
nullable: true
|
||||
items:
|
||||
type: object
|
||||
x-kubernetes-preserve-unknown-fields: true
|
||||
init_containers:
|
||||
type: array
|
||||
description: deprecated
|
||||
|
||||
Reference in New Issue
Block a user