diff --git a/cmd/helm/testdata/testcharts/chart-with-schema-negative/values.schema.yaml b/cmd/helm/testdata/testcharts/chart-with-schema-negative/values.schema.yaml index 2c8345c35..e33597305 100644 --- a/cmd/helm/testdata/testcharts/chart-with-schema-negative/values.schema.yaml +++ b/cmd/helm/testdata/testcharts/chart-with-schema-negative/values.schema.yaml @@ -1,3 +1,4 @@ +$schema: http://json-schema.org/draft-07/schema# title: Values type: object properties: diff --git a/cmd/helm/testdata/testcharts/chart-with-schema/values.schema.yaml b/cmd/helm/testdata/testcharts/chart-with-schema/values.schema.yaml index 2c8345c35..e33597305 100644 --- a/cmd/helm/testdata/testcharts/chart-with-schema/values.schema.yaml +++ b/cmd/helm/testdata/testcharts/chart-with-schema/values.schema.yaml @@ -1,3 +1,4 @@ +$schema: http://json-schema.org/draft-07/schema# title: Values type: object properties: diff --git a/docs/charts.md b/docs/charts.md index 17418682a..c760195b2 100644 --- a/docs/charts.md +++ b/docs/charts.md @@ -772,6 +772,7 @@ schema is the yaml representation of a [JSON Schema](https://json-schema.org/). It might look something like this: ```yaml +$schema: http://json-schema.org/draft-07/schema# title: Values type: object properties: diff --git a/pkg/chartutil/testdata/test-values.schema.yaml b/pkg/chartutil/testdata/test-values.schema.yaml index 2c8345c35..e33597305 100644 --- a/pkg/chartutil/testdata/test-values.schema.yaml +++ b/pkg/chartutil/testdata/test-values.schema.yaml @@ -1,3 +1,4 @@ +$schema: http://json-schema.org/draft-07/schema# title: Values type: object properties: diff --git a/pkg/chartutil/values_test.go b/pkg/chartutil/values_test.go index a73bd9049..7b4affef3 100644 --- a/pkg/chartutil/values_test.go +++ b/pkg/chartutil/values_test.go @@ -492,6 +492,7 @@ chapter: func TestReadSchema(t *testing.T) { schemaTest := `# Test YAML parse +$schema: http://json-schema.org/draft-07/schema# title: Values type: object properties: