From 25056fd828f729bcc9c04a18335de891a13dd79a Mon Sep 17 00:00:00 2001 From: peterabarr <90917602+peterabarr@users.noreply.github.com> Date: Mon, 2 Oct 2023 09:21:07 +0100 Subject: [PATCH] Json changes --- charts/alertmanager/values.schema.json | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) 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