From ce6fb6874ff97cbb7808e75e24c48144096698e6 Mon Sep 17 00:00:00 2001 From: Marc Brugger Date: Fri, 29 May 2026 10:34:02 +0200 Subject: [PATCH] fix: correct helm values schema for webservcie ports (#1928) Signed-off-by: bakito --- charts/capsule/values.schema.json | 10 ++++++++-- charts/capsule/values.yaml | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/charts/capsule/values.schema.json b/charts/capsule/values.schema.json index c094c7a1..e1f6ca42 100644 --- a/charts/capsule/values.schema.json +++ b/charts/capsule/values.schema.json @@ -39,7 +39,10 @@ }, "port": { "description": "Custom service port for the webhook service", - "type": "null" + "type": [ + "integer", + "null" + ] }, "url": { "description": "The URL where the capsule webhook services are running (Overwrites cluster scoped service definition)", @@ -2176,7 +2179,10 @@ }, "port": { "description": "Custom service port for the webhook service", - "type": "null" + "type": [ + "integer", + "null" + ] }, "url": { "description": "The URL where the capsule webhook services are running (Overwrites cluster scoped service definition)", diff --git a/charts/capsule/values.yaml b/charts/capsule/values.yaml index 2f417960..d3c937de 100644 --- a/charts/capsule/values.yaml +++ b/charts/capsule/values.yaml @@ -466,7 +466,7 @@ conversions: # -- Custom service namespace for the webhook service namespace: "" # -- Custom service port for the webhook service - port: + port: # @schema type:[integer, null] # Webhooks configurations @@ -495,7 +495,7 @@ webhooks: # -- Custom service namespace for the webhook service namespace: "" # -- Custom service port for the webhook service - port: + port: # @schema type:[integer, null] # Admission Webhook Configuration hooks: