mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-18 03:28:00 +02:00
Standby section improvements (#3033)
- Allow standby_host to be specified together with wal_path - Add standby_primary_slot_name
This commit is contained in:
@@ -3924,15 +3924,22 @@ spec:
|
||||
format: int64
|
||||
type: integer
|
||||
standby:
|
||||
oneOf:
|
||||
anyOf:
|
||||
- required:
|
||||
- s3_wal_path
|
||||
- required:
|
||||
- gs_wal_path
|
||||
- required:
|
||||
- standby_host
|
||||
description: StandbyDescription contains remote primary config or
|
||||
s3/gs wal path
|
||||
not:
|
||||
required:
|
||||
- s3_wal_path
|
||||
- gs_wal_path
|
||||
description: StandbyDescription contains remote primary config and/or
|
||||
s3/gs wal path. standby_host can be specified alone or together with
|
||||
either s3_wal_path OR gs_wal_path (mutually exclusive). At least
|
||||
one field must be specified. s3_wal_path and gs_wal_path are mutually
|
||||
exclusive.
|
||||
properties:
|
||||
gs_wal_path:
|
||||
type: string
|
||||
@@ -3942,6 +3949,8 @@ spec:
|
||||
type: string
|
||||
standby_port:
|
||||
type: string
|
||||
standby_primary_slot_name:
|
||||
type: string
|
||||
type: object
|
||||
streams:
|
||||
items:
|
||||
|
||||
Reference in New Issue
Block a user