Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
losisin committed Oct 24, 2023
1 parent 0981b37 commit b35f109
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Installed plugin: schema
## Usage

```
$ helm schema -help
usage: helm schema [-input STR] [-draft INT] [-output STR]
-draft int
Draft version (4, 6, 7, 2019, or 2020) (default 2020)
Expand All @@ -32,10 +33,10 @@ usage: helm schema [-input STR] [-draft INT] [-output STR]
In most cases you will want to run the plugin with default options:

```
helm schema -input values.yaml
$ helm schema -input values.yaml
```

This will read `values.yaml`, set draft version to `202-12` and save outpout to `values.schema.json`.
This will read `values.yaml`, set draft version to `2020-12` and save outpout to `values.schema.json`.

#### Extended

Expand Down Expand Up @@ -71,7 +72,7 @@ deep:
Run the following command to merge the yaml files and output json schema:

```
helm schema -input values_1.yaml,custom/path/values_2.yaml -draft 2020 -output my.schema.json
$ helm schema -input values_1.yaml,custom/path/values_2.yaml -draft 2020 -output my.schema.json
```

Output will be something like this:
Expand Down

0 comments on commit b35f109

Please sign in to comment.