{"id":21194814,"url":"https://github.com/holgerjh/helm-schema","last_synced_at":"2026-05-16T23:13:21.734Z","repository":{"id":41810573,"uuid":"485908776","full_name":"holgerjh/helm-schema","owner":"holgerjh","description":"Plugin for helm that adds a \"schema\" command to generate JSON Schemas from charts.","archived":false,"fork":false,"pushed_at":"2022-04-28T16:17:40.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T14:13:33.877Z","etag":null,"topics":["helm","helm-chart","helm-plugin","jsonschema","jsonschema-generator","verification"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/holgerjh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-26T18:45:54.000Z","updated_at":"2022-10-27T17:47:17.000Z","dependencies_parsed_at":"2022-08-11T18:10:36.178Z","dependency_job_id":null,"html_url":"https://github.com/holgerjh/helm-schema","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgerjh%2Fhelm-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgerjh%2Fhelm-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgerjh%2Fhelm-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holgerjh%2Fhelm-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holgerjh","download_url":"https://codeload.github.com/holgerjh/helm-schema/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243648727,"owners_count":20324933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["helm","helm-chart","helm-plugin","jsonschema","jsonschema-generator","verification"],"created_at":"2024-11-20T19:24:33.907Z","updated_at":"2026-05-16T23:13:16.696Z","avatar_url":"https://github.com/holgerjh.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helm Plugin for Schema Generation\n\nThis is a plugin for helm that adds the `helm schema` command.\n\n## Demo\n\n![demo](https://github.com/holgerjh/helm-schema/blob/main/demo.svg?raw=true)\n\n## Installation\n\n* Run `helm plugin install https://github.com/holgerjh/helm-schema`.\n\n* Run `helm schema`. It should output a help.\n\n## Usage\n\n### Schema Creation\n\nThe syntax to create a JSON Schema from files FILE-1 ... FILE-N is:\n\n`helm schema create FILE-1 [-f FILE-2] [-f ...] [-f FILE-N] [-o OUTPUT-FILE]`.\n\nTo create a schema from a chart with a single values.yaml: \n\n`helm schema create values.yaml -o values.schema.json`\n\nTo create a schema from a chart with multiple yaml files: \n\n`helm schema create values.yaml -f my-other-values.yaml -o values.schema.json`\n\n#### Options\n\nThe following options are available:\n\n| Option                  | Description                                |\n| ----------------------- | ------------------------------------------ |\n| `-a`, `--allow-additional`  | Generates a schema that allows unknown object properties that were not encountered during schema generation. Useful for generating a schema from an incomplete `values.yaml`. Default: false |\n| `-f`, `--file stringArray`  | Additional file that will be merged into main file before creating the schema. Can be specified mulitple times. |\n| `-h`, `--help`              | help for create |\n| `-d`, `--id string`         | Fill the schema $id field. |\n| `-m`, `--merge-only`        | Do not generate a schema. Instead, output the YAML result of the merge operation. Default: false |\n| `-o`, `--output string`     | Output file. Default is STDOUT. |\n| `-r`, `--require-all`       | Generates a strict schema that requires all keys to be present. Default: false |\n\n### Schema Verification\n\nVerify the newly generated schema against the chart: `helm lint .`\n\n## Restrictions\n\nCurrently only linux is supported.\n\n## Uninstall\n\nRun `helm plugin uninstall schema`.\n\n\n\u003csub\u003eNo koalas 🐨 were hurt in the making of this plugin.\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholgerjh%2Fhelm-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholgerjh%2Fhelm-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholgerjh%2Fhelm-schema/lists"}