Standby section improvements (#3033)

- Allow standby_host to be specified together with wal_path
- Add standby_primary_slot_name
This commit is contained in:
Polina Bungina
2026-01-19 13:54:27 +01:00
committed by GitHub
parent ad9ae4ec1b
commit b97de5d7f1
12 changed files with 176 additions and 36 deletions
+12 -3
View File
@@ -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: