k8wiz
Helm
Easy
Commands

Which helm template flag prints only the manifests rendered from a template file you name, such as templates/configmap.yaml?

Select your answer:

Show answer and explanation

Answer: --show-only

Explanation

--show-only, or -s, filters the output to the manifests from the template paths you give it, relative to the chart root, and accepts glob patterns. Helm still renders every template, so an error in another file still fails the command. --output-dir writes all rendered files to a directory instead of filtering them.

Read more about Helm