{"id":14384115,"url":"https://github.com/giantswarm/helm-values-gen","last_synced_at":"2026-01-14T20:43:37.209Z","repository":{"id":78056813,"uuid":"601570030","full_name":"giantswarm/helm-values-gen","owner":"giantswarm","description":"Helm plugin 'values-gen' generates the default values file based of values.schema.json","archived":false,"fork":false,"pushed_at":"2025-12-04T13:05:10.000Z","size":302,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-07T16:12:37.208Z","etag":null,"topics":["github-action","helm","helm-plugin","helm-plugins","plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","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/giantswarm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":"DCO","cla":null}},"created_at":"2023-02-14T10:53:50.000Z","updated_at":"2025-12-04T13:05:13.000Z","dependencies_parsed_at":"2023-10-23T20:25:35.211Z","dependency_job_id":"1db24110-fad8-4b29-8a37-e325ff283865","html_url":"https://github.com/giantswarm/helm-values-gen","commit_stats":{"total_commits":88,"total_committers":8,"mean_commits":11.0,"dds":0.6022727272727273,"last_synced_commit":"7d201c84387fa4712ba2be0815eac9744f346ec6"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/giantswarm/helm-values-gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantswarm%2Fhelm-values-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantswarm%2Fhelm-values-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantswarm%2Fhelm-values-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantswarm%2Fhelm-values-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giantswarm","download_url":"https://codeload.github.com/giantswarm/helm-values-gen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giantswarm%2Fhelm-values-gen/sbom","scorecard":{"id":838155,"data":{"date":"2025-08-18T06:50:51Z","repo":{"name":"github.com/giantswarm/helm-values-gen","commit":"3843dd67c2150b744ccf90e072fdd1686852e2b9"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":7,"checks":[{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: RenovateBot: renovate.json5:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Maintained","score":10,"reason":"22 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":9,"reason":"dependency not pinned by hash detected -- score normalized to 9","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update_action.yaml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/giantswarm/helm-values-gen/update_action.yaml/main?enable=pin","Info:  21 out of  22 GitHub-owned GitHubAction dependencies pinned","Info:  12 out of  12 third-party GitHubAction dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pre_commit_go.yaml:1","Warn: no topLevel permission defined: .github/workflows/update_action.yaml:1","Warn: no topLevel permission defined: .github/workflows/zz_generated.add-team-labels.yaml:1","Warn: no topLevel permission defined: .github/workflows/zz_generated.add-to-project-board.yaml:1","Warn: no topLevel permission defined: .github/workflows/zz_generated.create_release.yaml:1","Warn: no topLevel permission defined: .github/workflows/zz_generated.create_release_pr.yaml:1","Warn: no topLevel permission defined: .github/workflows/zz_generated.ensure_major_version_tags.yaml:1","Warn: no topLevel permission defined: .github/workflows/zz_generated.fix_vulnerabilities.yaml:1","Warn: no topLevel permission defined: .github/workflows/zz_generated.gitleaks.yaml:1","Warn: no topLevel permission defined: .github/workflows/zz_generated.run_ossf_scorecard.yaml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/zz_generated.validate_changelog.yaml:16","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.4 not signed: https://api.github.com/repos/giantswarm/helm-values-gen/releases/196066368","Warn: release artifact v1.0.3 not signed: https://api.github.com/repos/giantswarm/helm-values-gen/releases/131197327","Warn: release artifact v1.0.2 not signed: https://api.github.com/repos/giantswarm/helm-values-gen/releases/99713489","Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/giantswarm/helm-values-gen/releases/96478277","Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/giantswarm/helm-values-gen/releases/96349911","Warn: release artifact v1.0.4 does not have provenance: https://api.github.com/repos/giantswarm/helm-values-gen/releases/196066368","Warn: release artifact v1.0.3 does not have provenance: https://api.github.com/repos/giantswarm/helm-values-gen/releases/131197327","Warn: release artifact v1.0.2 does not have provenance: https://api.github.com/repos/giantswarm/helm-values-gen/releases/99713489","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/giantswarm/helm-values-gen/releases/96478277","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/giantswarm/helm-values-gen/releases/96349911"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Contributors","score":10,"reason":"project has 5 contributing companies or organizations","details":["Info: found contributions from: KoelnAPI, aleph alpha, giant swarm, giantswarm, netzbegruenung"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"CI-Tests","score":10,"reason":"30 out of 30 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-08-23T19:44:22.673Z","repository_id":78056813,"created_at":"2025-08-23T19:44:22.674Z","updated_at":"2025-08-23T19:44:22.674Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["github-action","helm","helm-plugin","helm-plugins","plugin"],"created_at":"2024-08-28T18:01:08.005Z","updated_at":"2026-01-14T20:43:37.187Z","avatar_url":"https://github.com/giantswarm.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# helm-values-gen\n\n`helm-values-gen` generates a YAML payload that contains all default values in\na given JSON schema. This is useful when maintaining a helm project with a\n`values.schema.json` that already contains the default values that are\nexpected in `values.yaml`.\n\n## Installation\n\nCurrently, `helm-values-gen` can be installed as Go binary.\nIn the future it will be (additionally) possible to install it as a helm plugin.\n\n```nohighlight\ngo install github.com/giantswarm/helm-values-gen@latest\n```\n\n## Usage\n\n```nohighlight\n$ helm-values-gen values.schema.json -o values.yaml\n\nWrote default values to values.yaml\n```\n\nUse `--help` to learn about more options.\n\n## Details\n\nAs JSON schemas can be nested deeply, we need to define which default values\nwill be contained in the resulting payload.\nThe tool follows these steps:\n\n1. Start in the root of the schema\n2. If there is a default value, add it to the payload.\n3. Recurse into all properties.\n\n**Note**:\nThe tool does not recurse into the `items` keyword of an array.\nTo specify default values for an array you have to set a default on the level\nof the array.\n\nConsider the following example:\n\nvalues.schema.json\n\n```json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"addresses\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"city\": {\n            \"type\": \"string\",\n            \"default\": \"New York\"\n          }\n        }\n      },\n    },\n    \"lastName\": {\n      \"type\": \"string\",\n      \"default\": \"Doe\"\n    }\n  }\n}\n```\n\nvalues.yaml\n\n```yaml\nlastName: Doe\n```\n\nThe default value `addresses[].city = \"New York\"` is not reflected in\n`values.yaml`.\n\nTo specify a default value for an array consider the following example:\n\n```json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"addresses\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\"\n        \"properties\": {\n          \"city\": {\n            \"type\": \"string\",\n            \"default\": \"New York\"\n          }\n        }\n      },\n      \"default\": [\n        {\n          \"city\": \"New York\"\n        }\n      ]\n    },\n    \"lastName\": {\n      \"type\": \"string\",\n      \"default\": \"Doe\"\n    }\n  }\n}\n```\n\nvalues.yaml\n\n```yaml\naddresses:\n  - city: New York\nlastName: Doe\n```\n\n## GitHub Action\n\nAn action to run `schemalint verify` on the `values.schema.json` in app repositories in provided in `actions/verify-helm-schema`.\n\n**Example workflow**:\n\n```yaml\nname: JSON schema validation\non:\n  push: {}\n\njobs:\n  generate:\n    name: Check that values.yaml is generated from values.schema.json with helm-values-gen\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v3\n\n      - name: Run helm-values-gen\n        id: run-helm-values-gen\n        uses: giantswarm/helm-values-gen/actions/ensure-generated@v1\n```\n\n## Major Releases\n\nThis repository uses [floating tags](https://github.com/giantswarm/floating-tags-action).\nOther repositories that use helm-values-gen point to major floating tag versions,\nlike `v1`. That means that all minor and patch releases will be automatically\nrolled out to these repositories.\nWhen doing a major release the following steps have to be completed:\n1. Create a new major floating tag under \"Actions -\u003e Ensure major version tags -\u003e Run Workflow\"\n2. Update all references to schemalint.\n    1. devctl: `pkg/gen/input/workflows/internal/file/cluster_app_schema_validation.yaml.template`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiantswarm%2Fhelm-values-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiantswarm%2Fhelm-values-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiantswarm%2Fhelm-values-gen/lists"}