From 05c2e193d38325780c3cd1fc711ecc707f125780 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 20 May 2026 17:21:02 -0700 Subject: [PATCH] fix(helm): allow host[:port][/path] form in global.imageRegistry schema MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The values.schema.json constrained global.imageRegistry to JSON Schema hostname format (RFC 1123), which forbids '/'. That rejected the host+path form required by Artifactory virtual repos, Harbor projects, GCR (gcr.io/project-id), and ECR-with-namespace — all of which the chart's image-rendering helper already supports (it prints '%s/%s:%s'). Drop the format constraint and document the supported shapes. Matches the bitnami common-chart convention of validating image registry as a plain string and deferring to Docker for the actual reference parse. --- helm/sim/values.schema.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helm/sim/values.schema.json b/helm/sim/values.schema.json index 146d74b5638..1c7504b8884 100644 --- a/helm/sim/values.schema.json +++ b/helm/sim/values.schema.json @@ -8,8 +8,7 @@ "properties": { "imageRegistry": { "type": "string", - "format": "hostname", - "description": "Global Docker image registry" + "description": "Global Docker image registry (host[:port][/path]). Supports plain hosts (registry.example.com), host:port (registry.example.com:5000), and host+path forms used by Artifactory virtual repos, Harbor projects, GCR (gcr.io/project-id), and ECR-with-namespace." }, "useRegistryForAllImages": { "type": "boolean",