diff --git a/content/blog/2021-02-10-helm-values-schema-reference/index.md b/content/blog/2021-02-10-helm-values-schema-reference/index.md new file mode 100644 index 0000000..6cb2587 --- /dev/null +++ b/content/blog/2021-02-10-helm-values-schema-reference/index.md @@ -0,0 +1,17 @@ +--- +title: "Helm Values Schema Reference" +date: 2021-02-10T00:00:00-05:00 +author: "Matt Farina" +authorLink: "https://mattfarina.com" +slug: "helm-values-schema-reference" +--- + +Helm v3 introduced [schemas for values](https://helm.sh/docs/topics/charts/#schema-files). The schemas are written as JSON Schemas and put in a chart in a file named `values.schema.json` that goes right alongside `values.yaml` files. Wouldn't it be great if there was a way to easily use these files to understand the values in a chart? Artifact Hub provides just that with its Values Schema Reference. + +![Artifact Hub chart values schema reference](values-schema-reference.png) + +This image is the [Values Schema Reference for the chart that installs the Artifact Hub](https://artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=values-schema) software. + +On the left is YAML for the values, on the right is the information from the schema lined up with the YAML on the left, and at the top is a search box with autocomplete. + +Using this information you can learn more about any chart that provides a schema. Accessing the Values Schema Reference happens through a button in the right sidebar, when a schema is available for a chart. \ No newline at end of file diff --git a/content/blog/2021-02-10-helm-values-schema-reference/values-schema-reference.png b/content/blog/2021-02-10-helm-values-schema-reference/values-schema-reference.png new file mode 100644 index 0000000..9b8b4b4 Binary files /dev/null and b/content/blog/2021-02-10-helm-values-schema-reference/values-schema-reference.png differ