auto-update crds catalog

This commit is contained in:
Drone Shipper 2023-12-21 12:32:53 +00:00
parent 41baa838d3
commit 44ba1792b5
2 changed files with 312 additions and 4 deletions

View File

@ -2148,7 +2148,7 @@
"type": "string"
},
"password": {
"description": "The reference to the password to be used to connect to the server",
"description": "The reference to the password to be used to connect to the server. If a password is provided, CloudNativePG creates a PostgreSQL passfile at `/controller/external/NAME/pass` (where \"NAME\" is the cluster's name). This passfile is automatically referenced in the connection string when establishing a connection to the remote PostgreSQL server from the current PostgreSQL `Cluster`. This ensures secure and efficient password management for external clusters.",
"properties": {
"key": {
"description": "The key of the secret to select from. Must be a valid secret key.",
@ -2490,6 +2490,146 @@
"default": false,
"description": "Enable or disable the `PodMonitor`",
"type": "boolean"
},
"podMonitorMetricRelabelings": {
"description": "The list of metric relabelings for the `PodMonitor`. Applied to samples before ingestion.",
"items": {
"description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts, scraped samples and remote write samples. \n More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config",
"properties": {
"action": {
"default": "replace",
"description": "Action to perform based on the regex matching. \n `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. \n Default: \"Replace\"",
"enum": [
"replace",
"Replace",
"keep",
"Keep",
"drop",
"Drop",
"hashmod",
"HashMod",
"labelmap",
"LabelMap",
"labeldrop",
"LabelDrop",
"labelkeep",
"LabelKeep",
"lowercase",
"Lowercase",
"uppercase",
"Uppercase",
"keepequal",
"KeepEqual",
"dropequal",
"DropEqual"
],
"type": "string"
},
"modulus": {
"description": "Modulus to take of the hash of the source label values. \n Only applicable when the action is `HashMod`.",
"format": "int64",
"type": "integer"
},
"regex": {
"description": "Regular expression against which the extracted value is matched.",
"type": "string"
},
"replacement": {
"description": "Replacement value against which a Replace action is performed if the regular expression matches. \n Regex capture groups are available.",
"type": "string"
},
"separator": {
"description": "Separator is the string between concatenated SourceLabels.",
"type": "string"
},
"sourceLabels": {
"description": "The source labels select values from existing labels. Their content is concatenated using the configured Separator and matched against the configured regular expression.",
"items": {
"description": "LabelName is a valid Prometheus label name which may only contain ASCII letters, numbers, as well as underscores.",
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
"type": "string"
},
"type": "array"
},
"targetLabel": {
"description": "Label to which the resulting string is written in a replacement. \n It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`, `KeepEqual` and `DropEqual` actions. \n Regex capture groups are available.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"podMonitorRelabelings": {
"description": "The list of relabelings for the `PodMonitor`. Applied to samples before scraping.",
"items": {
"description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts, scraped samples and remote write samples. \n More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config",
"properties": {
"action": {
"default": "replace",
"description": "Action to perform based on the regex matching. \n `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. \n Default: \"Replace\"",
"enum": [
"replace",
"Replace",
"keep",
"Keep",
"drop",
"Drop",
"hashmod",
"HashMod",
"labelmap",
"LabelMap",
"labeldrop",
"LabelDrop",
"labelkeep",
"LabelKeep",
"lowercase",
"Lowercase",
"uppercase",
"Uppercase",
"keepequal",
"KeepEqual",
"dropequal",
"DropEqual"
],
"type": "string"
},
"modulus": {
"description": "Modulus to take of the hash of the source label values. \n Only applicable when the action is `HashMod`.",
"format": "int64",
"type": "integer"
},
"regex": {
"description": "Regular expression against which the extracted value is matched.",
"type": "string"
},
"replacement": {
"description": "Replacement value against which a Replace action is performed if the regular expression matches. \n Regex capture groups are available.",
"type": "string"
},
"separator": {
"description": "Separator is the string between concatenated SourceLabels.",
"type": "string"
},
"sourceLabels": {
"description": "The source labels select values from existing labels. Their content is concatenated using the configured Separator and matched against the configured regular expression.",
"items": {
"description": "LabelName is a valid Prometheus label name which may only contain ASCII letters, numbers, as well as underscores.",
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
"type": "string"
},
"type": "array"
},
"targetLabel": {
"description": "Label to which the resulting string is written in a replacement. \n It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`, `KeepEqual` and `DropEqual` actions. \n Regex capture groups are available.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"type": "object",
@ -2527,6 +2667,11 @@
"postgresql": {
"description": "Configuration of the PostgreSQL server",
"properties": {
"enableAlterSystem": {
"default": true,
"description": "If this parameter is true, the user will be able to invoke `ALTER SYSTEM` on this CloudNativePG Cluster. This should only be used for debugging and troubleshooting. Defaults to true.",
"type": "boolean"
},
"ldap": {
"description": "Options to specify LDAP configuration",
"properties": {
@ -3749,7 +3894,7 @@
"type": "string"
},
"currentPrimaryFailingSinceTimestamp": {
"description": "The timestamp when the primary was detected to be unhealthy This field is reported when spec.failoverDelay is populated or during online upgrades",
"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"
},
"currentPrimaryTimestamp": {
@ -3764,9 +3909,17 @@
"type": "array"
},
"firstRecoverabilityPoint": {
"description": "The first recoverability point, stored as a date in RFC3339 format",
"description": "The first recoverability point, stored as a date in RFC3339 format. This field is calculated from the content of FirstRecoverabilityPointByMethod",
"type": "string"
},
"firstRecoverabilityPointByMethod": {
"additionalProperties": {
"format": "date-time",
"type": "string"
},
"description": "The first recoverability point, stored as a date in RFC3339 format, per backup method type",
"type": "object"
},
"healthyPVC": {
"description": "List of all the PVCs not dangling nor initializing",
"items": {
@ -3834,9 +3987,17 @@
"type": "string"
},
"lastSuccessfulBackup": {
"description": "Stored as a date in RFC3339 format",
"description": "Last successful backup, stored as a date in RFC3339 format This field is calculated from the content of LastSuccessfulBackupByMethod",
"type": "string"
},
"lastSuccessfulBackupByMethod": {
"additionalProperties": {
"format": "date-time",
"type": "string"
},
"description": "Last successful backup, stored as a date in RFC3339 format, per backup method type",
"type": "object"
},
"latestGeneratedNode": {
"description": "ID of the latest generated node (used to avoid node name clashing)",
"type": "integer"
@ -3959,6 +4120,13 @@
"description": "The resource version of the PostgreSQL client-side CA secret version",
"type": "string"
},
"externalClusterSecretVersion": {
"additionalProperties": {
"type": "string"
},
"description": "The resource versions of the external cluster secrets",
"type": "object"
},
"managedRoleSecretVersion": {
"additionalProperties": {
"type": "string"

View File

@ -84,6 +84,146 @@
"default": false,
"description": "Enable or disable the `PodMonitor`",
"type": "boolean"
},
"podMonitorMetricRelabelings": {
"description": "The list of metric relabelings for the `PodMonitor`. Applied to samples before ingestion.",
"items": {
"description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts, scraped samples and remote write samples. \n More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config",
"properties": {
"action": {
"default": "replace",
"description": "Action to perform based on the regex matching. \n `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. \n Default: \"Replace\"",
"enum": [
"replace",
"Replace",
"keep",
"Keep",
"drop",
"Drop",
"hashmod",
"HashMod",
"labelmap",
"LabelMap",
"labeldrop",
"LabelDrop",
"labelkeep",
"LabelKeep",
"lowercase",
"Lowercase",
"uppercase",
"Uppercase",
"keepequal",
"KeepEqual",
"dropequal",
"DropEqual"
],
"type": "string"
},
"modulus": {
"description": "Modulus to take of the hash of the source label values. \n Only applicable when the action is `HashMod`.",
"format": "int64",
"type": "integer"
},
"regex": {
"description": "Regular expression against which the extracted value is matched.",
"type": "string"
},
"replacement": {
"description": "Replacement value against which a Replace action is performed if the regular expression matches. \n Regex capture groups are available.",
"type": "string"
},
"separator": {
"description": "Separator is the string between concatenated SourceLabels.",
"type": "string"
},
"sourceLabels": {
"description": "The source labels select values from existing labels. Their content is concatenated using the configured Separator and matched against the configured regular expression.",
"items": {
"description": "LabelName is a valid Prometheus label name which may only contain ASCII letters, numbers, as well as underscores.",
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
"type": "string"
},
"type": "array"
},
"targetLabel": {
"description": "Label to which the resulting string is written in a replacement. \n It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`, `KeepEqual` and `DropEqual` actions. \n Regex capture groups are available.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"podMonitorRelabelings": {
"description": "The list of relabelings for the `PodMonitor`. Applied to samples before scraping.",
"items": {
"description": "RelabelConfig allows dynamic rewriting of the label set for targets, alerts, scraped samples and remote write samples. \n More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config",
"properties": {
"action": {
"default": "replace",
"description": "Action to perform based on the regex matching. \n `Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0. \n Default: \"Replace\"",
"enum": [
"replace",
"Replace",
"keep",
"Keep",
"drop",
"Drop",
"hashmod",
"HashMod",
"labelmap",
"LabelMap",
"labeldrop",
"LabelDrop",
"labelkeep",
"LabelKeep",
"lowercase",
"Lowercase",
"uppercase",
"Uppercase",
"keepequal",
"KeepEqual",
"dropequal",
"DropEqual"
],
"type": "string"
},
"modulus": {
"description": "Modulus to take of the hash of the source label values. \n Only applicable when the action is `HashMod`.",
"format": "int64",
"type": "integer"
},
"regex": {
"description": "Regular expression against which the extracted value is matched.",
"type": "string"
},
"replacement": {
"description": "Replacement value against which a Replace action is performed if the regular expression matches. \n Regex capture groups are available.",
"type": "string"
},
"separator": {
"description": "Separator is the string between concatenated SourceLabels.",
"type": "string"
},
"sourceLabels": {
"description": "The source labels select values from existing labels. Their content is concatenated using the configured Separator and matched against the configured regular expression.",
"items": {
"description": "LabelName is a valid Prometheus label name which may only contain ASCII letters, numbers, as well as underscores.",
"pattern": "^[a-zA-Z_][a-zA-Z0-9_]*$",
"type": "string"
},
"type": "array"
},
"targetLabel": {
"description": "Label to which the resulting string is written in a replacement. \n It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`, `KeepEqual` and `DropEqual` actions. \n Regex capture groups are available.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"type": "object",