From 46fcc5eff84fa3b5279590638a94fd8a87ba2b0b Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Tue, 24 Oct 2023 13:13:20 +0100 Subject: [PATCH] HPCC-30642 Update helm schema for terminationGracePeriodSeconds Signed-off-by: Jake Smith --- helm/hpcc/values.schema.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/helm/hpcc/values.schema.json b/helm/hpcc/values.schema.json index 39f45fcd332..c4ca7834b5a 100644 --- a/helm/hpcc/values.schema.json +++ b/helm/hpcc/values.schema.json @@ -1271,6 +1271,10 @@ }, "egress": { "$ref" : "#/definitions/egress" + }, + "terminationGracePeriodSeconds": { + "$ref": "#/definitions/terminationGracePeriodSeconds", + "default": 3600 } } }, @@ -1342,6 +1346,9 @@ "type": "string", "description": "The default repo version used if not supplied for the defaultRepo" }, + "terminationGracePeriodSeconds": { + "$ref": "#/definitions/terminationGracePeriodSeconds" + }, "resources": { "$ref": "#/definitions/resources" }, @@ -1384,6 +1391,9 @@ }, "resources": { "$ref": "#/definitions/resources" + }, + "terminationGracePeriodSeconds": { + "$ref": "#/definitions/terminationGracePeriodSeconds" } } }, @@ -3166,6 +3176,12 @@ } }, "required": [ "name", "type", "target" ] + }, + "terminationGracePeriodSeconds": { + "type": "integer", + "description": "Period permitted for component to terminate gracefully before being killed by Kubernetes", + "default": 600, + "minimum": 0 } } }