abundant-airplane-93796
08/13/2020, 1:49 PM--name-template
arg which Pulumi is using under the hood AND unecessarily convoluted names for resources within the cluster.white-balloon-205
resourcePrefix
will be necessary.
Where exactly do you hit the name limit - and are you in control of all parts of that name? Ideally the resource prefix would only need to be used for the Pulumi logical name - and wouldn’t need to be passed to Helm at all.abundant-airplane-93796
08/13/2020, 3:07 PMresourcePrefix
and shortening what I was feeding in.
I was actually compounding the problem initially because resourcePrefix
gets prepended to the name
given to the Chart resource, and thus gets very long very quickly. As those are fed directly to the --name-template
arg it's very easy to hit the 53 char limit.
Fortunately the charts in question all support a fullnameOverride
value, so I've been able to utilize that to rename the resources as they appear in the cluster without resorting to more complicated transformations.