https://github.com/si3nloong/helm-restore
OMG!!! I lost my original helm chart. Don't worry, this tool is to help you restore it back.
https://github.com/si3nloong/helm-restore
golang helm helm-charts restore
Last synced: 7 months ago
JSON representation
OMG!!! I lost my original helm chart. Don't worry, this tool is to help you restore it back.
- Host: GitHub
- URL: https://github.com/si3nloong/helm-restore
- Owner: si3nloong
- License: mit
- Created: 2024-03-06T02:43:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T20:49:16.000Z (8 months ago)
- Last Synced: 2025-02-13T21:33:00.459Z (8 months ago)
- Topics: golang, helm, helm-charts, restore
- Language: Go
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# helm-restore
> A CLI to restore your helm charts. As long as your kubernetes cluster is available, you can restore the helm chart using `helm-restore` CLI.
## ❓ Why `helm-restore`?
Encountering the scenarios mentioned below? It's time to leverage the power of `helm-restore` CLI.
- Your team has lost the original helm charts.
- Previous developer has left the organization without providing the original Helm charts.
- Third party has assisted in setting up components, leaving you without the original Helm charts.Having faced the same challenges, I developed this tool to simplify the process of recovering Helm charts.
## 🔨 Installation
### Brew
```console
brew tap si3nloong/tools
brew install helm-restore
```### Go
```console
go install github.com/si3nloong/helm-restore@main
```### Distribution
[Downloads](https://github.com/si3nloong/helm-restore/releases/tag/v1.0.0)
## 🥢 How to use?
```bash
helm-restore --latest -o dist
```This will take some time if you have many charts. After it complete, you will see your charts inside `dist` folder.
## ⚙️ Command line tool
### Syntax
Use the following syntax to run `helm-restore` commands from your terminal window:
```bash
helm-restore [command] [flags]
```where `command`, and `flags` are:
- `command`: Specifies the operation that you want to perform.
- `flags`: Specifies optional flags.### Cheat Sheet
| Flags | Description |
| -------------------- | ------------------------------------------------------------------------------------------------- |
| --latest | Only download the latest chart |
| -f | Load the cluster using the specific kubeconfig file instead of using default `$HOME/.kube/config` |
| -o | Store the helm charts in the specific folder |
| -context | Specify the kubernetes context |**Examples :**
```bash
helm-restore --latest # download the latest charts only
helm-restore -o dist # download the charts and store in `dist` folder
```## 📄 License
[MIT](https://github.com/si3nloong/helm-restore/blob/main/LICENSE)
Copyright (c) 2024-present, SianLoong Lee