Render a helm manifest to a directory
Switch branches/tags
Nothing to show
Clone or download
databus23 Append resource to exiting files
Since helm 2.5.0 the # Source: Stanza gets emitted for every resource in a template.
Latest commit 4d05718 Jul 13, 2017
Permalink
Failed to load latest commit information.
README.md fix typo Dec 12, 2016
main.go Append resource to exiting files Jul 13, 2017
plugin.yaml Add helm plugin yaml Feb 27, 2017

README.md

Render a helm manifest to a directory.

Installation

go get -u github.com/databus23/schelm

Usage:

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

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