{"id":28541737,"url":"https://github.com/konstructio/helm-mirror","last_synced_at":"2025-07-05T16:31:30.212Z","repository":{"id":250202331,"uuid":"833275090","full_name":"konstructio/helm-mirror","owner":"konstructio","description":"Helm plugin used to mirror repositories","archived":false,"fork":false,"pushed_at":"2024-11-08T19:18:27.000Z","size":830,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-09T20:09:40.640Z","etag":null,"topics":[],"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/konstructio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-24T17:45:38.000Z","updated_at":"2024-10-17T18:35:26.000Z","dependencies_parsed_at":"2024-07-29T20:04:56.590Z","dependency_job_id":"543c141f-3697-4eba-8c64-a3b0f5188ea2","html_url":"https://github.com/konstructio/helm-mirror","commit_stats":null,"previous_names":["konstructio/helm-mirror"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/konstructio/helm-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konstructio%2Fhelm-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konstructio%2Fhelm-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konstructio%2Fhelm-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konstructio%2Fhelm-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konstructio","download_url":"https://codeload.github.com/konstructio/helm-mirror/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konstructio%2Fhelm-mirror/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263770995,"owners_count":23508842,"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":[],"created_at":"2025-06-09T20:09:46.290Z","updated_at":"2025-07-05T16:31:30.206Z","avatar_url":"https://github.com/konstructio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# helm-mirror Plugin\n\n[![Release](https://img.shields.io/github/release/konstructio/helm-mirror.svg)](https://github.com/konstructio/helm-mirror/releases/latest)\n[![Downloads](https://img.shields.io/github/downloads/konstructio/helm-mirror/total?color=blue\u0026logo=github)](https://github.com/konstructio/helm-mirror/releases)\n\n\nA fork of the [`helm-mirror` plugin from openSUSE](https://github.com/openSUSE/helm-mirror). This plugin allows you to mirror Helm Charts from a repository into a local folder.\n\n## Install\n\nUsing Helm plugin manager (\u003e 2.3.x)\n\n```bash\nhelm plugin install https://github.com/konstructio/helm-mirror --version main\n```\n\nUsing a Go environment:\n\n```bash\ngo install github.com/konstructio/helm-mirror@latest\n```\n\nOr download the binary from the [releases page](https://github.com/konstructio/helm-mirror/releases), unpack it, and use the `bin/mirror` binary directly.\n\n## Usage\n\nMirror Helm Charts from an index file into a local folder.\n\nFor example:\n\n```bash\nhelm-mirror https://charts.example.com/ /path/to/downloaded/charts\n```\n\nThis will download the index file and the latest version of the charts into the folder indicated.\n\nThe index file is a YAML that contains a list of charts in this format. Example:\n\n```yaml\napiVersion: v1\nentries:\n  chart:\n  - apiVersion: 1.0.0\n    created: 2018-08-08T00:00:00.00000000Z\n    description: A Helm chart for your application\n    digest: 3aa68d6cb66c14c1fcffc6dc6d0ad8a65b90b90c10f9f04125dc6fcaf8ef1b20\n    name: chart\n    urls:\n    - https://kubernetes-charts.example.com/chart-1.0.0.tgz\n  chart2:\n  - apiVersion: 1.0.0\n    created: 2018-08-08T00:00:00.00000000Z\n    description: A Helm chart for your application\n    digest: 7ae62d60b61c14c1fcffc6dc670e72e62b91b91c10f9f04125dc67cef2ef0b21\n    name: chart\n    urls:\n    - https://kubernetes-charts.example.com/chart2-1.0.0.tgz\n```\n\nThis will download these charts:\n\n- `https://kubernetes-charts.example.com/chart-1.0.0.tgz`\n- `https://kubernetes-charts.example.com/chart2-1.0.0.tgz`\n\nInto your destination folder.\n\nUsage:\n\n```\n  helm-mirror [Repo URL] [Destination Folder] [flags]\n  helm-mirror [command]\n```\n\nAvailable Commands:\n  help           Help about any command\n  inspect-images Extract all the images of the Helm Charts.\n  version        Show version of the helm-mirror plugin\n\nFlags:\n\n```\n  -a, --all-versions                                   gets all the versions of the charts in the chart repository\n      --ca-file string                                 verify certificates of HTTPS-enabled servers using this CA bundle\n      --cert-file string                               identify HTTPS client using this SSL certificate file\n      --chart-name string                              name of the chart that gets mirrored\n      --chart-version string                           specific version of the chart that is going to be mirrored\n  -h, --help                                           help for mirror\n  -i, --ignore-errors                                  ignores errors while downloading or processing charts\n      --key-file string                                identify HTTPS client using this SSL key file\n      --new-root-url https://mirror.local.lan/charts   New root url of the chart repository (eg: https://mirror.local.lan/charts)\n      --password string                                chart repository password\n      --username string                                chart repository username\n  -v, --verbose                                        verbose output\n```\n\n### Getting all charts\n\n```bash\nhelm-mirror https://example.com/charts /path/to/charts --all-charts\n```\n\nThis will download all the charts and all the available versions\nof the charts.\n\n### Getting one specific chart\n\n```bash\nhelm-mirror https://example.com/charts /path/to/charts --chart-name nginx\n```\n\nThis will download the latest version of the chart `nginx`.\n\n### Getting one specific chart with a specific version\n\n```bash\nhelm-mirror https://example.com/charts /path/to/charts --chart-name nginx --chart-version 2.14.3\n```\n\nThis will download version `2.14.3` of the chart `nginx`.\n\nUse `helm-mirror [command] --help` for more information about a command.\n\n## Commands\n\n### `inspect-images`\n\nExtract all the container images listed in each Helm Chart or the Helm Charts in the folder provided. This command dumps the images on `stdout` by default, for more options check `output flag`. Example:\n\n- `helm-mirror inspect-images /tmp/helm`\n- `helm-mirror inspect-images /tmp/helm/app.tgz`\n\nThe folder or `.tgz` file has to be a full path.\n\n#### Usage\n\n```bash\nmirror inspect-images [folder|tgzfile] [flags]\n```\n\n#### Flags\n\n* `-h`, `--help`               help for inspect-images\n* `-i`, `--ignore-errors`      ignores errors whiles processing charts. (Exit Code: 2)\n* `-o`, `--output string`      choose an output for the list of images. (default \"stdout\")\n\nAvailable output options:\n\n* `file`: outputs all images to a file\n* `json`: outputs all images to a file in JSON format\n* `skopeo`: outputs all images to a file in YAML format: to be used as source file with the 'skopeo sync' command. For more information refer skopeo([1]).\n* `stdout`: prints all images to standard output\n* `yaml`: outputs all images to a file in YAML format\n\n```bash\nhelm-mirror inspect-images /tmp/helm --output stdout\nhelm-mirror inspect-images /tmp/helm -o stdout\nhelm-mirror inspect-images /tmp/helm -o file=filename\nhelm-mirror inspect-images /tmp/helm -o json=filename.json\nhelm-mirror inspect-images /tmp/helm -o yaml=filename.yaml\nhelm-mirror inspect-images /tmp/helm -o skopeo=filename.yaml\n```\n\n#### Global Flags\n\n* `-v`, `--verbose`: verbose output\n\n### `version`\n\nDisplays the current version of `mirror`.\n\n[1]: https://github.com/containers/skopeo/blob/release-1.1/docs/skopeo-sync.1.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonstructio%2Fhelm-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonstructio%2Fhelm-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonstructio%2Fhelm-mirror/lists"}