technosophos/helm-template

Feature request: Flag for single template only

vaughnkoch opened this issue ยท 2 comments

kvaps commented

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 ๐Ÿ™ƒ

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 ;-)