From d12ec31d92ea8ed6f69dfe8fb329f2331f2120a8 Mon Sep 17 00:00:00 2001 From: falcorocks <14293929+falcorocks@users.noreply.github.com> Date: Mon, 20 Jan 2025 16:58:28 +0200 Subject: [PATCH] refactor: update schema Signed-off-by: falcorocks <14293929+falcorocks@users.noreply.github.com> --- charts/policy-controller/values.schema.json | 34 ++++++++++++--------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/charts/policy-controller/values.schema.json b/charts/policy-controller/values.schema.json index 8974c428..e7112566 100644 --- a/charts/policy-controller/values.schema.json +++ b/charts/policy-controller/values.schema.json @@ -35,37 +35,40 @@ "title": "cosignPub", "type": "string" }, - "webhookName": { - "default": "policy.sigstore.dev", - "required": [], - "title": "webhookName", - "type": "string" - }, "timeoutSeconds": { "additionalProperties": false, - "title": "timeoutSeconds", - "type": "object", "properties": { "mutating": { "default": 10, - "description": "timeoutSeconds allows configuring how long the API server should wait for a webhook to respond before treating the call as a failure", "required": [], "title": "mutating", "type": "integer" }, "validating": { "default": 10, - "description": "timeoutSeconds allows configuring how long the API server should wait for a webhook to respond before treating the call as a failure", "required": [], "title": "validating", "type": "integer" } - } + }, + "required": [ + "mutating", + "validating" + ], + "title": "timeoutSeconds", + "type": "object" + }, + "webhookName": { + "default": "policy.sigstore.dev", + "required": [], + "title": "webhookName", + "type": "string" } }, "required": [ "cosignPub", - "webhookName" + "webhookName", + "timeoutSeconds" ], "title": "cosign", "type": "object" @@ -209,8 +212,8 @@ "type": "string" }, "version": { - "default": "sha256:f291fce5b9c1a69ba54990eda7e0fe4114043b1afefb0f4ee3e6f84ec9ef1605", - "description": "crane digest ghcr.io/sigstore/policy-controller/policy-controller:v0.8.2", + "default": "sha256:f3b57d4c906fcbd7229c3069c055ce2b2862e01106c2b85df1322f1e3a232829", + "description": "crane digest ghcr.io/sigstore/policy-controller/policy-controller:v0.11.0", "required": [], "title": "version", "type": "string" @@ -614,7 +617,8 @@ "volumes", "namespaceSelector", "registryCaBundle", - "webhookNames" + "webhookNames", + "webhookTimeoutSeconds" ], "title": "webhook", "type": "object"