This message was deleted.
# general
s
This message was deleted.
w
This may actually not be possible with the current
Chart
API. Could you open an issue? Should be possible to add an env arg to Chart. Does the chart have no way to configure the region other than this environment variable (that is kind of unfortunate if so).
e
I’m still not entirely sure where the region is set. It looks like pulumi is just using the helm repo as it’s configured from the cli before running
pulumi
.
w
Cc @gorgeous-egg-16927 in case he has any more pointers he could suggest.
g
The pulumi k8s provider isn’t passing that env var through, so it’s likely using whatever the default is for your helm installation. That may be a global config on your system
w
Pretty sure by default we will inherit parent process env vars. Which also describes the behavior @early-musician-41645 is seeing. I suspect we need an option to pass though env vars explicitly. The thing I don’t understand is what part of Helm reads this and when? Is it actually read during
helm template
?
g
I’d expect it’s the
helm fetch
step
e
It’s during fetch according to the error. The scenario is that we have a separate region for the helm repo than for the configawsregion that’s in use