From d6749abdfc6bd46fcc159051c42baac1aac65c85 Mon Sep 17 00:00:00 2001 From: Bernd Schorgers Date: Wed, 13 Mar 2024 21:10:37 +0100 Subject: [PATCH] fix(common): Make life easier for @joryirving by relaxing schema --- charts/library/common/schemas/containers.json | 6 +++--- charts/library/common/schemas/definitions.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/library/common/schemas/containers.json b/charts/library/common/schemas/containers.json index e5247f5e..f0544d95 100644 --- a/charts/library/common/schemas/containers.json +++ b/charts/library/common/schemas/containers.json @@ -51,7 +51,7 @@ "type": "object", "additionalProperties": { "anyOf": [ - {"type": ["string", "number", "boolean"]}, + {"type": ["string", "number", "boolean", "null"]}, {"$ref": "#/envValue"}, {"$ref": "#/envValueFrom"}, {"$ref": "#/envImplicitValueFrom"} @@ -172,7 +172,7 @@ "type": "string" }, "value": { - "type": ["string", "number", "boolean"] + "type": ["string", "number", "boolean", "null"] } }, "required": ["name", "value"] @@ -183,7 +183,7 @@ "additionalProperties": false, "properties": { "value": { - "type": ["string", "number", "boolean"] + "type": ["string", "number", "boolean", "null"] }, "dependsOn": {"$ref": "#/envDependsOn"} }, diff --git a/charts/library/common/schemas/definitions.json b/charts/library/common/schemas/definitions.json index 71b0c71b..9f4b4e90 100644 --- a/charts/library/common/schemas/definitions.json +++ b/charts/library/common/schemas/definitions.json @@ -2,14 +2,14 @@ "annotations": { "type": ["object", "null"], "additionalProperties": { - "type": ["string"] + "type": ["string", "null"] } }, "labels": { "type": ["object", "null"], "additionalProperties": { - "type": ["string"] + "type": ["string", "null"] } } }