From 4513786a03de4e5168e66c253755ecb085aeffcc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 20:41:36 +0000 Subject: [PATCH 1/2] Update dependency dadav/helm-schema to v0.14.1 | datasource | package | from | to | | ----------- | ----------------- | ------ | ------ | | github-tags | dadav/helm-schema | 0.13.0 | 0.14.1 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 66cbf3f8e0..d41221d907 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -86,7 +86,7 @@ repos: args: [-w, -s, -i, "4"] - repo: https://github.com/dadav/helm-schema - rev: 0.13.0 + rev: 0.14.1 hooks: - id: helm-schema args: diff --git a/Makefile b/Makefile index 717ca64086..29bcd9b590 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ NODE_VERSION = 20 # renovate: datasource=docker depName=quay.io/helmpack/chart-testing CHART_TESTING_VERSION = v3.11.0 # renovate: datasource=github-tags depName=dadav/helm-schema -HELM_SCHEMA_VERSION = 0.13.0 +HELM_SCHEMA_VERSION = 0.14.1 # variables that can be overridden by the user PREFIX ?= nginx-gateway-fabric## The name of the NGF image. For example, nginx-gateway-fabric From 0ebf33be4dccda515be8038afd3d07c37f26dc79 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Mon, 30 Sep 2024 13:54:10 -0700 Subject: [PATCH 2/2] generate schema --- .../nginx-gateway-fabric/values.schema.json | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/charts/nginx-gateway-fabric/values.schema.json b/charts/nginx-gateway-fabric/values.schema.json index b9e0fe79a9..3182ae1a4c 100644 --- a/charts/nginx-gateway-fabric/values.schema.json +++ b/charts/nginx-gateway-fabric/values.schema.json @@ -10,8 +10,7 @@ "extraVolumes": { "description": "extraVolumes for the NGINX Gateway Fabric pod. Use in conjunction with\nnginxGateway.extraVolumeMounts and nginx.extraVolumeMounts to mount additional volumes to the containers.", "items": { - "required": [], - "type": "array" + "required": [] }, "required": [], "title": "extraVolumes", @@ -111,11 +110,15 @@ "items": { "properties": { "key": { + "maxLength": 255, + "minLength": 1, "pattern": "^([^\"$\\\\]|\\\\[^$])*$", "required": [], "type": "string" }, "value": { + "maxLength": 255, + "minLength": 1, "pattern": "^([^\"$\\\\]|\\\\[^$])*$", "required": [], "type": "string" @@ -138,8 +141,7 @@ "extraVolumeMounts": { "description": "extraVolumeMounts are the additional volume mounts for the nginx container.", "items": { - "required": [], - "type": "array" + "required": [] }, "required": [], "title": "extraVolumeMounts", @@ -266,8 +268,7 @@ "extraVolumeMounts": { "description": "extraVolumeMounts are the additional volume mounts for the nginx-gateway container.", "items": { - "required": [], - "type": "array" + "required": [] }, "required": [], "title": "extraVolumeMounts", @@ -559,8 +560,7 @@ "imagePullSecrets": { "description": "A list of secret names containing docker registry credentials.\nSecrets must exist in the same namespace as the helm release.", "items": { - "required": [], - "type": "array" + "required": [] }, "required": [], "title": "imagePullSecrets", @@ -588,8 +588,7 @@ "tolerations": { "description": "Tolerations for the NGINX Gateway Fabric pod.", "items": { - "required": [], - "type": "array" + "required": [] }, "required": [], "title": "tolerations",