big-potato-91793
04/01/2019, 1:29 PMhelm
we can ovveride a variable value in the command line. It’s their a way to do this in pulumi. I got a stack by branch… i want the version of the main app to be the SHA version… in helm we are doing something like --set-string image.tag ${SHA}
.. what is the best way to do something like this in pulumi?better-rainbow-14549
04/01/2019, 3:45 PMbig-potato-91793
04/02/2019, 1:18 AMmillions-judge-24978
04/04/2019, 2:49 PMvalues
parameter to ChartOpts
https://pulumi.io/reference/pkg/nodejs/@pulumi/kubernetes/helm/v2/#ChartOpts
i.e.
...
values : {
image: { tag: '1.0.0' }
}
...
big-potato-91793
04/04/2019, 2:52 PMmillions-judge-24978
04/04/2019, 2:53 PMmillions-judge-24978
04/04/2019, 2:54 PMIMAGE_TAG=1.0.0 pulumi up
millions-judge-24978
04/04/2019, 2:54 PM