orange-policeman-59119
05/24/2019, 6:34 PMInput<>
values? I'm seeing this since updating @pulumi/kubernetes
to 0.23:
Error: render error in "[redacted]/secret.yaml": template: [redacted]/secret.yaml:15:49: executing "[redacted]/secret.yaml" at <b64enc>: wrong type for value; expected string; got map[string]interface {}
Only change was updating the Pulumi kubernetes provider.creamy-potato-29402
05/24/2019, 6:42 PMorange-policeman-59119
05/24/2019, 8:04 PMError: render error in "[redacted]/secret.yaml": template: [redacted]/secret.yaml:15:49: executing "[redacted]/secret.yaml" at <b64enc>: wrong type for value; expected string; got map[string]interface {}
at Chart.resources.allConfig.apply.cfg (/builds/[redacted]/monorepo/pulumi/node_modules/@pulumi/kubernetes/helm/v2/helm.js:112:23)
at OutputImpl.<anonymous> (/builds/[redacted]/monorepo/pulumi/node_modules/@pulumi/pulumi/output.js:109:47)
at Generator.next (<anonymous>)
at fulfilled (/builds/[redacted]/monorepo/pulumi/node_modules/@pulumi/pulumi/output.js:17:58)
values: { a: { b: async () => { return strValue; } }
It was this:
new k8s.helm.v2.Chart(..., { values, ... })
To test this I'm trying:
output(values).apply(renderedValues => {
new k8s.helm.v2.Chart(..., { values: renderedValues, ... })
})
creamy-potato-29402
05/24/2019, 8:18 PMorange-policeman-59119
05/28/2019, 7:21 PMisMergeableObject: isPlainObject
with is-plain-object 2.x: fine
with is-plain-object 3.x: not fine