helm-template icon indicating copy to clipboard operation
helm-template copied to clipboard

Feature request: Flag for single template only

Open vaughnkoch opened this issue 6 years ago • 2 comments

See https://github.com/helm/helm/issues/2587.

vaughnkoch avatar Aug 09 '19 17:08 vaughnkoch

Howdy, I just found good workaround to this:

ht(){ awk -v f="$1$" '$0~f,/^---/'; }

usage:

helm template . | ht templates/ltsp-deployment.yaml

autocompletion is working 🙃

kvaps avatar Aug 05 '20 16:08 kvaps

Although I personally prefer @kvaps' solution, if one wants to avoid awk magic, there's always:

helm template . --output-dir /tmp/helm && cat /tmp/helm/name/templates/ltsp-deployment.yaml

autocompletion also working ;-)

pmorch avatar Jan 19 '21 14:01 pmorch