mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 06:43:48 +02:00
Add support for PostgreSQL 16 (#2437)
* Add support for PostgreSQL 16 * Include pg16 in local script and logical-backup Dockerfile --------- Co-authored-by: Tom Molesworth <tom@audioboundary.com> Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
co-authored by
Tom Molesworth
Felix Kunde
parent
9bb5d8add7
commit
a63a0758de
@@ -84,6 +84,7 @@ spec:
|
||||
"limit_iops": 16000,
|
||||
"limit_throughput": 1000,
|
||||
"postgresql_versions": [
|
||||
"16",
|
||||
"15",
|
||||
"14",
|
||||
"13",
|
||||
|
||||
@@ -375,6 +375,7 @@ spec:
|
||||
- "13"
|
||||
- "14"
|
||||
- "15"
|
||||
- "16"
|
||||
parameters:
|
||||
type: object
|
||||
additionalProperties:
|
||||
|
||||
@@ -607,6 +607,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
|
||||
{
|
||||
Raw: []byte(`"15"`),
|
||||
},
|
||||
{
|
||||
Raw: []byte(`"16"`),
|
||||
},
|
||||
},
|
||||
},
|
||||
"parameters": {
|
||||
|
||||
@@ -73,6 +73,7 @@ spec:
|
||||
"limit_iops": 16000,
|
||||
"limit_throughput": 1000,
|
||||
"postgresql_versions": [
|
||||
"16",
|
||||
"15",
|
||||
"14",
|
||||
"13",
|
||||
|
||||
@@ -321,7 +321,7 @@ DEFAULT_UI_CONFIG = {
|
||||
'users_visible': True,
|
||||
'databases_visible': True,
|
||||
'resources_visible': RESOURCES_VISIBLE,
|
||||
'postgresql_versions': ['11', '12', '13', '14', '15'],
|
||||
'postgresql_versions': ['11', '12', '13', '14', '15', '16'],
|
||||
'dns_format_string': '{0}.{1}',
|
||||
'pgui_link': '',
|
||||
'static_network_whitelist': {},
|
||||
|
||||
@@ -308,7 +308,7 @@ def read_versions(
|
||||
if uid == 'wal' or defaulting(lambda: UUID(uid))
|
||||
]
|
||||
|
||||
BACKUP_VERSION_PREFIXES = ['', '9.6/', '10/', '11/', '12/', '13/', '14/', '15/']
|
||||
BACKUP_VERSION_PREFIXES = ['', '9.6/', '10/', '11/', '12/', '13/', '14/', '15/', '16/']
|
||||
|
||||
def read_basebackups(
|
||||
pg_cluster,
|
||||
|
||||
@@ -31,6 +31,7 @@ default_operator_ui_config='{
|
||||
"limit_iops": 16000,
|
||||
"limit_throughput": 1000,
|
||||
"postgresql_versions": [
|
||||
"16",
|
||||
"15",
|
||||
"14",
|
||||
"13",
|
||||
|
||||
Reference in New Issue
Block a user