From a99bc608640ee3a1b5b36febd673c83da187cf3b Mon Sep 17 00:00:00 2001 From: Yannic Hayoz Date: Thu, 2 Mar 2023 10:59:50 +0100 Subject: [PATCH 1/2] [common]: fix networkpolicy schema.json Signed-off-by: Yannic Hayoz --- charts/common/Chart.yaml | 2 +- charts/common/README.md | 2 +- charts/common/values.schema.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index 513a83a0..25615b3c 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: common description: "Bedag's common Helm chart to use for creating other Helm charts" -version: 9.0.1 +version: 9.0.2 # A chart can be either an 'application' or a 'library' chart. # # Application charts are a collection of templates that can be packaged into versioned archives diff --git a/charts/common/README.md b/charts/common/README.md index 5995fdaa..060bdf70 100644 --- a/charts/common/README.md +++ b/charts/common/README.md @@ -1,6 +1,6 @@ # common -![Version: 9.0.1](https://img.shields.io/badge/Version-9.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 9.0.2](https://img.shields.io/badge/Version-9.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Bedag's common Helm chart to use for creating other Helm charts diff --git a/charts/common/values.schema.json b/charts/common/values.schema.json index 0c8cd3d0..9122642a 100644 --- a/charts/common/values.schema.json +++ b/charts/common/values.schema.json @@ -658,7 +658,7 @@ ] }, "port": { - "type": "string" + "type": "integer" } } } From 234c0ae4b68ff58f12206092e3d6ae66a3e1feba Mon Sep 17 00:00:00 2001 From: Yannic Hayoz Date: Thu, 2 Mar 2023 11:28:50 +0100 Subject: [PATCH 2/2] [common]: fix networkpolicy schema.json Signed-off-by: Yannic Hayoz --- charts/common/Chart.yaml | 2 +- charts/common/values.schema.json | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index 25615b3c..4aaa5ae0 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -27,4 +27,4 @@ annotations: artifacthub.io/prerelease: "false" artifacthub.io/license: Apache-2.0 artifacthub.io/changes: | - - "[Fixed]: Linting for NetworkPolicy" + - "[Fixed]: Schema Json for NetworkPolicy" diff --git a/charts/common/values.schema.json b/charts/common/values.schema.json index 9122642a..f689ee98 100644 --- a/charts/common/values.schema.json +++ b/charts/common/values.schema.json @@ -636,10 +636,7 @@ ], "properties": { "cidr": { - "type": [ - "number", - "string" - ] + "type": "string" } } },