auto-update crds catalog

This commit is contained in:
Drone Shipper 2023-03-20 10:09:04 +00:00
parent 2e7e739cfb
commit ef9f962994
4 changed files with 37 additions and 5 deletions

View File

@ -28,6 +28,14 @@
], ],
"type": "object", "type": "object",
"additionalProperties": false "additionalProperties": false
},
"target": {
"description": "The policy to decide which instance should perform this backup. If empty, it defaults to `cluster.spec.backup.target`. Available options are empty string, which will default to `primary` policy, `primary` to have backups run always on primary instances, `prefer-standby` to have backups run preferably on the most updated standby, if available.",
"enum": [
"primary",
"prefer-standby"
],
"type": "string"
} }
}, },
"type": "object", "type": "object",
@ -127,6 +135,10 @@
"description": "The ID of the Barman backup", "description": "The ID of the Barman backup",
"type": "string" "type": "string"
}, },
"backupName": {
"description": "The Name of the Barman backup",
"type": "string"
},
"beginLSN": { "beginLSN": {
"description": "The starting xlog", "description": "The starting xlog",
"type": "string" "type": "string"
@ -144,7 +156,7 @@
"type": "string" "type": "string"
}, },
"destinationPath": { "destinationPath": {
"description": "The path where to store the backup (i.e. s3://bucket/path/to/folder) this path, with different destination folders, will be used for WALs and for data", "description": "The path where to store the backup (i.e. s3://bucket/path/to/folder) this path, with different destination folders, will be used for WALs and for data. This may not be populated in case of errors.",
"type": "string" "type": "string"
}, },
"encryption": { "encryption": {
@ -337,9 +349,6 @@
"type": "string" "type": "string"
} }
}, },
"required": [
"destinationPath"
],
"type": "object", "type": "object",
"additionalProperties": false "additionalProperties": false
} }

View File

@ -3353,7 +3353,7 @@
"type": "string" "type": "string"
}, },
"currentPrimaryFailingSinceTimestamp": { "currentPrimaryFailingSinceTimestamp": {
"description": "The timestamp when the primary was detected to be unhealthy This field is reported only when spec.failoverDelay is populated", "description": "The timestamp when the primary was detected to be unhealthy This field is reported when spec.failoverDelay is populated or during online upgrades",
"type": "string" "type": "string"
}, },
"currentPrimaryTimestamp": { "currentPrimaryTimestamp": {
@ -3433,6 +3433,14 @@
"format": "int32", "format": "int32",
"type": "integer" "type": "integer"
}, },
"lastFailedBackup": {
"description": "Stored as a date in RFC3339 format",
"type": "string"
},
"lastSuccessfulBackup": {
"description": "Stored as a date in RFC3339 format",
"type": "string"
},
"latestGeneratedNode": { "latestGeneratedNode": {
"description": "ID of the latest generated node (used to avoid node name clashing)", "description": "ID of the latest generated node (used to avoid node name clashing)",
"type": "integer" "type": "integer"

View File

@ -68,6 +68,13 @@
"description": "When set to `true`, PgBouncer will disconnect from the PostgreSQL server, first waiting for all queries to complete, and pause all new client connections until this value is set to `false` (default). Internally, the operator calls PgBouncer's `PAUSE` and `RESUME` commands.", "description": "When set to `true`, PgBouncer will disconnect from the PostgreSQL server, first waiting for all queries to complete, and pause all new client connections until this value is set to `false` (default). Internally, the operator calls PgBouncer's `PAUSE` and `RESUME` commands.",
"type": "boolean" "type": "boolean"
}, },
"pg_hba": {
"description": "PostgreSQL Host Based Authentication rules (lines to be appended to the pg_hba.conf file)",
"items": {
"type": "string"
},
"type": "array"
},
"poolMode": { "poolMode": {
"default": "session", "default": "session",
"description": "The pool mode", "description": "The pool mode",

View File

@ -50,6 +50,14 @@
"suspend": { "suspend": {
"description": "If this backup is suspended or not", "description": "If this backup is suspended or not",
"type": "boolean" "type": "boolean"
},
"target": {
"description": "The policy to decide which instance should perform this backup. If empty, it defaults to `cluster.spec.backup.target`. Available options are empty string, which will default to `primary` policy, `primary` to have backups run always on primary instances, `prefer-standby` to have backups run preferably on the most updated standby, if available.",
"enum": [
"primary",
"prefer-standby"
],
"type": "string"
} }
}, },
"required": [ "required": [