• Stars
    star
    108
  • Rank 321,259 (Top 7 %)
  • Language
    Go
  • Created about 8 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Render a helm manifest to a directory

Render a 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