https://github.com/databus23/schelm
Render a helm manifest to a directory
https://github.com/databus23/schelm
Last synced: over 1 year ago
JSON representation
Render a helm manifest to a directory
- Host: GitHub
- URL: https://github.com/databus23/schelm
- Owner: databus23
- Created: 2016-10-21T13:52:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-19T11:24:28.000Z (about 6 years ago)
- Last Synced: 2025-03-16T09:32:42.896Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 107
- Watchers: 7
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Render a [helm](https://github.com/kubernetes/helm) manifest to a directory.
# Installation
```
go get -u github.com/databus23/schelm
```
# Usage:
## Helm 2:
```
helm install --dry-run --debug CHART > manifest.txt
schelm OUTPUT_DIR < manifest.txt
or
helm install --dry-run --debug CHART | schelm OUTPUT_DIR
or
helm get RELEASE manifest | schelm OUTPUT_DIR
```
## Helm 3:
```
helm install --dry-run --debug CHART > manifest.txt
schelm OUTPUT_DIR < manifest.txt
or
helm install --dry-run --debug CHART | schelm OUTPUT_DIR
or
helm get manifest RELEASE | schelm output/
```
# Example:
```
➜ helm get eloping-saola manifest | schelm output/
2016/10/21 15:50:12 Writing output/mariadb/templates/deployment.yaml
2016/10/21 15:50:12 Writing output/mariadb/templates/pvc.yaml
2016/10/21 15:50:12 Writing output/mariadb/templates/secrets.yaml
2016/10/21 15:50:12 Writing output/mariadb/templates/svc.yaml
➜ tree output/
output/
└── mariadb
└── templates
├── deployment.yaml
├── pvc.yaml
├── secrets.yaml
└── svc.yaml
2 directories, 4 files
```