From 5a2a6de872d0eb06eba8fac4238388abd9b90159 Mon Sep 17 00:00:00 2001 From: user170200 Date: Tue, 3 Mar 2026 11:27:15 +0100 Subject: [PATCH] Schema.json drop 'required' for security contexts, as platforms with security constraints only set them automatically IF they are null (non-present, breaking required) --- charts/operaton/values.schema.json | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/charts/operaton/values.schema.json b/charts/operaton/values.schema.json index a657256..9ec7790 100644 --- a/charts/operaton/values.schema.json +++ b/charts/operaton/values.schema.json @@ -414,14 +414,14 @@ "type": "object", "properties": { "fsGroup": { - "type": "integer" + "type": [ + "integer", + "null" + ] } - }, - "required": [ - "fsGroup" - ] + } }, -"securityContext": { + "securityContext": { "type": "object", "properties": { "capabilities": { @@ -435,23 +435,18 @@ } ] } - }, - "required": [ - "drop" - ] + } }, "runAsNonRoot": { "type": "boolean" }, "runAsUser": { - "type": "integer" + "type": [ + "integer", + "null" + ] } - }, - "required": [ - "capabilities", - "runAsNonRoot", - "runAsUser" - ] + } }, "resources": { "type": "object",