mirror of https://github.com/helm/helm
A new library was introduced that provides JSON Schema checking for newer versions of the schema. In Helm v4, there is no need to have two packages doing the JSON schema validation. The message output can have breaking changes. This change moves everything to the newer library. It also uses a wrapper error to enable a clean Helm only interface for the public Go API validation functions. This would enable the replacement of the Schema validation library, if needed, without breaking the Go API contract. Signed-off-by: Matt Farina <matt.farina@suse.com>pull/30754/head
parent
55a4fc121b
commit
0dffc580b0
@ -1,4 +1,4 @@
|
||||
Error: INSTALLATION FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
|
||||
empty:
|
||||
- age: Must be greater than or equal to 0
|
||||
- at '/age': minimum: got -5, want 0
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
Error: INSTALLATION FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
|
||||
empty:
|
||||
- (root): employmentInfo is required
|
||||
- age: Must be greater than or equal to 0
|
||||
- at '': missing property 'employmentInfo'
|
||||
- at '/age': minimum: got -5, want 0
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
Error: INSTALLATION FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
|
||||
subchart-with-schema:
|
||||
- age: Must be greater than or equal to 0
|
||||
- at '/age': minimum: got -25, want 0
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
Error: INSTALLATION FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
|
||||
chart-without-schema:
|
||||
- (root): lastname is required
|
||||
- at '': missing property 'lastname'
|
||||
subchart-with-schema:
|
||||
- (root): age is required
|
||||
- at '': missing property 'age'
|
||||
|
||||
|
Loading…
Reference in new issue