diff --git a/charts/alertmanager/values.schema.json b/charts/alertmanager/values.schema.json index aa030c5917e7..8770a294683e 100644 --- a/charts/alertmanager/values.schema.json +++ b/charts/alertmanager/values.schema.json @@ -782,12 +782,20 @@ "podManagementPolicy": { "type": "string" }, - "pvcDeleteOnStsDelete": { - "type": "boolean" - }, - "pvcDeleteOnStsScale": { - "type": "boolean" - } + "persistentVolumeClaimRetentionPolicy": { + "type": "object", + "properties": { + "whenDeleted": { + "type": "string", + "enum": ["Retain", "Delete"] + }, + "whenScaled": { + "type": "string", + "enum": ["Retain", "Delete"] + } + }, + "additionalProperties": false, + "required": ["whenDeleted", "whenScaled"] } } }, @@ -953,3 +961,4 @@ } } } +} \ No newline at end of file