Clean up documentation

Signed-off-by: Ian Howell <ian.howell0@gmail.com>
pull/5350/head
Ian Howell 7 years ago
parent f67e71dff4
commit 9d2bd248a5

@ -766,7 +766,7 @@ Also, global variables of parent charts take precedence over the global variable
### Schema Files ### Schema Files
Sometimes, a chart writer might want to define a structure on their values. Sometimes, a chart maintainer might want to define a structure on their values.
This can be done by defining a schema in the `values.schema.yaml` file. A This can be done by defining a schema in the `values.schema.yaml` file. A
schema is the yaml representation of a [JSON Schema](https://json-schema.org/). schema is the yaml representation of a [JSON Schema](https://json-schema.org/).
It might look something like this: It might look something like this:
@ -797,7 +797,15 @@ required:
- port - port
``` ```
This schema will be applied to the values to validate it. An example of a This schema will be applied to the values to validate it. Validation occurs
when any of the following commands are invoked:
* `helm install`
* `helm upgrade`
* `helm lint`
* `helm template`
An example of a
`values.yaml` file that meets the requirements of this schema might look `values.yaml` file that meets the requirements of this schema might look
something like this: something like this:

Loading…
Cancel
Save