From 0d9aed25e4bd2a576c4fbefd474649d57b8f20bd Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Tue, 31 Oct 2023 16:27:23 +0100 Subject: [PATCH 1/2] fix(schema): minor fixes --- plugins/contrib/charts/app/kontinuous.values.schema.json | 7 +++++++ plugins/contrib/charts/jobs/kontinuous.values.schema.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/contrib/charts/app/kontinuous.values.schema.json b/plugins/contrib/charts/app/kontinuous.values.schema.json index 17b46ad656..84b8692c5f 100644 --- a/plugins/contrib/charts/app/kontinuous.values.schema.json +++ b/plugins/contrib/charts/app/kontinuous.values.schema.json @@ -64,6 +64,13 @@ "type": "string", "examples": ["/"] }, + "paths": { + "description": "List of URL paths to map the ingress to", + "type": "array", + "items": { + "type": "string" + } + }, "rewriteTarget": { "description": "Redirect path on the service", "type": "string", diff --git a/plugins/contrib/charts/jobs/kontinuous.values.schema.json b/plugins/contrib/charts/jobs/kontinuous.values.schema.json index ed9b15ff82..2c247c2a53 100644 --- a/plugins/contrib/charts/jobs/kontinuous.values.schema.json +++ b/plugins/contrib/charts/jobs/kontinuous.values.schema.json @@ -126,7 +126,7 @@ "$ref": "https://raw.githubusercontent.com/socialgouv/kontinuous/v1/plugins/contrib/jobs/create-db/use.schema.json#" } }, - "required": ["with"] + "required": [] }, "else": { "if": { From e02e7ddcbb13b4961b8bbf168364b259caba492f Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Wed, 1 Nov 2023 10:01:36 +0100 Subject: [PATCH 2/2] fix --- plugins/contrib/jobs/pg-restore/use.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/contrib/jobs/pg-restore/use.schema.json b/plugins/contrib/jobs/pg-restore/use.schema.json index 055a8bd956..2e9a0bf442 100644 --- a/plugins/contrib/jobs/pg-restore/use.schema.json +++ b/plugins/contrib/jobs/pg-restore/use.schema.json @@ -4,7 +4,7 @@ "title": "schema for pg-restore job usage", "type": "object", "additionalProperties": false, - "required": ["restorePath", "databaseUser"], + "required": ["restorePath"], "properties": { "pgAdminUserSecretRefName": { "description": "Secret with admin credentials to the database server",