rhythmic-battery-45198
06/21/2022, 4:30 PMrhythmic-battery-45198
06/21/2022, 4:30 PMhelm_chart targets with my repo. First of all, Great job 🎉! I was able to replace a bunch of one-off scripts. Any advice on templatizing or otherwise injecting some values into chart sources? I am specifically thinking of the version fields in Chart.yaml and a default image version field in values.yaml. We would like to set these values during the release process rather than handle it in source code. A similar idea to using DOCKER_TAG=<our release tag> ./pants publish src/docker:: in conjunction with docker.build_args for injecting the docker tag.
A gradle helm plugin I have used in the past allowed templatizing in Chart.yaml .. something like version: ${VERSION}. Is this something that has been considered?
Within the current version of pants, maybe I can create an experimental_shell_command target to run sed against a Chart.yaml.template and configure helm_chart sources to include the output?witty-family-13337
06/21/2022, 4:43 PMwitty-family-13337
06/21/2022, 4:47 PMversion field in the target that would override any version value in the Chart.yaml. It works but it's a bit heavy-handed so I wasn't sure on including it in the first release.witty-family-13337
06/21/2022, 4:49 PMwitty-family-13337
06/21/2022, 4:50 PMrhythmic-battery-45198
06/21/2022, 5:02 PMcurved-television-6568
06/21/2022, 5:33 PM