cool-egg-852
09/10/2019, 8:56 PMerror: Running program '/Users/harrison/code/linio/infrastructure/applications/cert-manager' failed with an unhandled exception:
TypeError: Cannot read property 'concat' of undefined
at /Users/harrison/code/linio/infrastructure/node_modules/@pulumi/pulumi/runtime/resource.js:359:29
at Generator.next (<anonymous>)
at fulfilled (/Users/harrison/code/linio/infrastructure/node_modules/@pulumi/pulumi/runtime/resource.js:18:58)
TypeError: Cannot read property 'concat' of undefined
at /Users/harrison/code/linio/infrastructure/node_modules/@pulumi/pulumi/runtime/resource.js:359:29
at Generator.next (<anonymous>)
at fulfilled (/Users/harrison/code/linio/infrastructure/node_modules/@pulumi/pulumi/runtime/resource.js:18:58)
kubernetes:helm.sh:Chart (cert-manager):
[Can't preview] all chart values must be known ahead of time to generate an accurate preview.
Is this a known issue?{ dependsOn: c.resources.apply(o => [someOtherResource, ...Object.values(o)]) }
that you gave me in the other thread the other day.someOtherResource
first. I’ll test that out in another cluster later today probably.white-balloon-205
cool-egg-852
09/11/2019, 1:11 PMconst chart = new k8s.helm.v2.Chart('someChart');
const someOtherResource new k8s.core.v1.Service('for-example');
new k8s.core.v1.Service('use-this-one-for-depends', {}. {},{ dependsOn: chart.resources.apply(o => [ ...Object.values(o), someOtherResource]) });