Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/technosophos/helm-template
Helm plugin to add client-side 'helm template' command.
https://github.com/technosophos/helm-template
helm helm-plugin kubernetes
Last synced: 2 months ago
JSON representation
Helm plugin to add client-side 'helm template' command.
- Host: GitHub
- URL: https://github.com/technosophos/helm-template
- Owner: technosophos
- License: other
- Created: 2016-12-21T00:11:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-23T15:16:28.000Z (over 6 years ago)
- Last Synced: 2024-06-20T00:45:05.704Z (7 months ago)
- Topics: helm, helm-plugin, kubernetes
- Language: Go
- Size: 38.1 KB
- Stars: 214
- Watchers: 10
- Forks: 29
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
**If you are using a recent version of Helm, you do not need this anymore!**
`helm template` is now a built-in part of Helm. Just run `helm template --help` with your existing Helm.
----
# Helm Template Plugin
This is a Helm plugin to help chart developers debug their charts. It works like
`helm install --dry-run --debug`, except that it runs locally, has more output
options, and is quite a bit faster.## Usage
Render chart templates locally and display the output.
This does not require Tiller. However, any values that would normally be
looked up or retrieved in-cluster will be faked locally. Additionally, none
of the server-side testing of chart validity (e.g. whether an API is supported)
is done.```
$ helm template [flags] CHART
```### Flags:
```
--notes show the computed NOTES.txt file as well.
--set string set values on the command line. See 'helm install -h'
-f, --values valueFiles specify one or more YAML files of values (default [])
-v, --verbose show the computed YAML values as well.
```## Install
```
$ helm plugin install https://github.com/technosophos/helm-template
```The above will fetch the latest binary release of `helm template` and install it.
### Developer (From Source) Install
If you would like to handle the build yourself, instead of fetching a binary,
this is how recommend doing it.First, set up your environment:
- You need to have [Go](http://golang.org) installed. Make sure to set `$GOPATH`
- If you don't have [Glide](http://glide.sh) installed, this will install it into
`$GOPATH/bin` for you.Clone this repo into your `$GOPATH`. You can use `go get -d github.com/technosophos/helm-template`
for that.```
$ cd $GOPATH/src/github.com/technosophos/helm-template
$ make bootstrap build
$ SKIP_BIN_INSTALL=1 helm plugin install $GOPATH/src/github.com/technosophos/helm-template
```That last command will skip fetching the binary install and use the one you
built.