mirror of https://github.com/helm/helm
After the switch to github.com/santhosh-tekuri/jsonschema/v6 we noticed that one of our charts was failing with the following error: > Error: values don't meet the specifications of the schema(s) in the following chart(s): > my-chart: > failing loading "file://./schema/library.json": open /schema/library.json: no such file or directory Checking against helm v3.18.4 (the last version of helm to use the old jsonschema module) everything worked as expected. From what I can tell, the newly adopted jsonschema module automatically prefixes "file://" onto the schema path, and any references within the main values.schema.json This commit, as best as I can test, puts back the behaviour found in v3.18.4 where executing a helm subcommand that validates against a values.schema.json file it follows references to additional schema files. Signed-off-by: Ben Lavery-Griffiths <ben@lavery-griffiths.com>pull/31261/head
parent
cd78e2396b
commit
767e2be528
Loading…
Reference in new issue