Is there a way to just get the populated values fi...
# general
b
Is there a way to just get the populated values file from a
helm_deployment
without the chart being installed?
c
cc @witty-family-13337 might have the answer to that
👍 1
w
not at this moment, one of the last things I did in my previous job was having a custom goal that would export the final rendered version
is what you mean?
b
The rendered version of the values file? - yes
I am quite new to pants. Any chance you give me a brief outline of how implemented the custom goal?
w
it isn’t very hard to do, but needs you knowing a bit of the helm plugin API
I may be able to recover that code and make it available in a gist
in the meantime you can try to run the deploy goal but passing —debug and —dry-run command line arguments
that should evaluate the contents of the chart and print them into standard output
here it is, this is the implementation of that custom goal: https://gist.github.com/alonsodomin/5959e3b9688bc6ff6d3e267d2f324bb7 Since you are new to Pants, you want to start with this tutorial first: https://www.pantsbuild.org/docs/create-a-new-goal
b
This is absolutely brilliant! Thanks for the direction - I will let you know how I get along!!