Skip to content

Commit

Permalink
chore: update postgres zalando schemas (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
Farfaday authored Jan 8, 2025
1 parent 49bf3c8 commit 932e19a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
22 changes: 11 additions & 11 deletions acid.zalan.do/operatorconfiguration_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"docker_image": {
"type": "string",
"default": "ghcr.io/zalando/spilo-16:3.3-p1"
"default": "ghcr.io/zalando/spilo-17:4.0-p2"
},
"enable_crd_registration": {
"type": "boolean",
Expand Down Expand Up @@ -163,11 +163,11 @@
},
"minimal_major_version": {
"type": "string",
"default": "12"
"default": "13"
},
"target_major_version": {
"type": "string",
"default": "16"
"default": "17"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -462,35 +462,35 @@
"properties": {
"default_cpu_limit": {
"type": "string",
"pattern": "^(\\d+m|\\d+(\\.\\d{1,3})?)$"
"pattern": "^(\\d+m|\\d+(\\.\\d{1,3})?)$|^$"
},
"default_cpu_request": {
"type": "string",
"pattern": "^(\\d+m|\\d+(\\.\\d{1,3})?)$"
"pattern": "^(\\d+m|\\d+(\\.\\d{1,3})?)$|^$"
},
"default_memory_limit": {
"type": "string",
"pattern": "^(\\d+(e\\d+)?|\\d+(\\.\\d+)?(e\\d+)?[EPTGMK]i?)$"
"pattern": "^(\\d+(e\\d+)?|\\d+(\\.\\d+)?(e\\d+)?[EPTGMK]i?)$|^$"
},
"default_memory_request": {
"type": "string",
"pattern": "^(\\d+(e\\d+)?|\\d+(\\.\\d+)?(e\\d+)?[EPTGMK]i?)$"
"pattern": "^(\\d+(e\\d+)?|\\d+(\\.\\d+)?(e\\d+)?[EPTGMK]i?)$|^$"
},
"max_cpu_request": {
"type": "string",
"pattern": "^(\\d+m|\\d+(\\.\\d{1,3})?)$"
"pattern": "^(\\d+m|\\d+(\\.\\d{1,3})?)$|^$"
},
"max_memory_request": {
"type": "string",
"pattern": "^(\\d+(e\\d+)?|\\d+(\\.\\d+)?(e\\d+)?[EPTGMK]i?)$"
"pattern": "^(\\d+(e\\d+)?|\\d+(\\.\\d+)?(e\\d+)?[EPTGMK]i?)$|^$"
},
"min_cpu_limit": {
"type": "string",
"pattern": "^(\\d+m|\\d+(\\.\\d{1,3})?)$"
"pattern": "^(\\d+m|\\d+(\\.\\d{1,3})?)$|^$"
},
"min_memory_limit": {
"type": "string",
"pattern": "^(\\d+(e\\d+)?|\\d+(\\.\\d+)?(e\\d+)?[EPTGMK]i?)$"
"pattern": "^(\\d+(e\\d+)?|\\d+(\\.\\d+)?(e\\d+)?[EPTGMK]i?)$|^$"
}
},
"additionalProperties": false
Expand Down
15 changes: 13 additions & 2 deletions acid.zalan.do/postgresql_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,11 @@
"version": {
"type": "string",
"enum": [
"12",
"13",
"14",
"15",
"16"
"16",
"17"
]
},
"parameters": {
Expand Down Expand Up @@ -661,6 +661,10 @@
"batchSize": {
"type": "integer"
},
"cpu": {
"type": "string",
"pattern": "^(\\d+m|\\d+(\\.\\d{1,3})?)$"
},
"database": {
"type": "string"
},
Expand All @@ -673,6 +677,10 @@
"type": "string"
}
},
"memory": {
"type": "string",
"pattern": "^(\\d+(e\\d+)?|\\d+(\\.\\d+)?(e\\d+)?[EPTGMK]i?)$"
},
"tables": {
"type": "object",
"additionalProperties": {
Expand All @@ -687,6 +695,9 @@
"idColumn": {
"type": "string"
},
"ignoreRecovery": {
"type": "boolean"
},
"payloadColumn": {
"type": "string"
},
Expand Down

0 comments on commit 932e19a

Please sign in to comment.