diff --git a/pkg/chart/common/util/jsonschema.go b/pkg/chart/common/util/jsonschema.go index d7588a67f..4eed45f56 100644 --- a/pkg/chart/common/util/jsonschema.go +++ b/pkg/chart/common/util/jsonschema.go @@ -191,7 +191,7 @@ func ValidateAgainstSingleSchemaWithPath(values common.Values, schemaJSON []byte compiler := jsonschema.NewCompiler() compiler.UseLoader(loader) - schemaURL := fmt.Sprintf("file://%s", schemaPath) + schemaURL := "file://" + schemaPath err = compiler.AddResource(schemaURL, schema) if err != nil { return err