https://pulumi.com logo
#kubernetes
Title
# kubernetes
m

miniature-leather-70472

10/05/2020, 11:13 AM
I'm trying to deploy a Helm chart using Pulumi component resource, I've got a values dictionary I am passing to the resource, but one of the values it needs is the name of the container registry to use, which is something I may create in my template, so the value is an Input<string> rather than just a string. This fails because the container registry name is not passed correctly, because it is an Input<T> any way to deal with this?
g

gorgeous-egg-16927

10/05/2020, 8:07 PM
You can use an
apply
to resolve the values dictionary, and then create the Helm chart inside of the apply. This makes previews unreliable, but it should work. I just took a look at the arg typing, and it appears that the types are more permissive than the implementation (i.e. the types allow Inputs, but the implementation expects prompt values). I’ll file an issue for that
m

miniature-leather-70472

10/06/2020, 7:57 AM
Thanks @gorgeous-egg-16927 will try with wrapping in an apply for now
4 Views