Reputation: 112
I have deployed several helm charts in kubernetes out of templates. I can view the the generated yamls using this command:
helm install <chart-name> <chart-path> --dry-run --debug
What I need is to save yamls generated via this command. Also suggest me a way how i'll be able to get (and write) the yamls while installing.
Upvotes: 3
Views: 6092
Reputation: 30160
helm template --output-dir './' './'
helm template will create the YAML files or generate the files you can save those and apply too as per requirement.
helm template --output-dir './yaml' './'
it will create the directory YAML and store all YAML output inside that.
last ./
is the path of chart
Upvotes: 4