Hi channel , when importing a helm Chart using pu...
# getting-started
r
Hi channel , when importing a helm Chart using pulumi : error :
kubernetes:<http://helm.sh/v3:Chart|helm.sh/v3:Chart> ():
error: Preview failed: resource 'my-node-4' does not exist and when
C:\Users\vPro>helm ls
*my-node-4*       default         1               2021-09-10 11:51:36.3807357 +0100 +01   deployed        node-15.2.26    14.17.6
ressources.json
{
"resources": [ {"id": "my-node-4", "type": "kubernetes:helm.sh/v3:Chart"}] }
solution :
ressources.json
{
"resources": [ {"id": "my-node-4", "type": "kubernetes:helm.sh/v3:*Release*"}] }
new error appear :
Diagnostics: kubernetes:helm.sh/v3:Release (): error: Preview failed: failed to download "node" at version "15.2.26"
b
Hi there, you can't import the chart itself, you need to import the objects that are created by the chart
r
I tried to import the release ( it's a chart instance on the cluster)
b
you can't import a helm release. Our helm support currently works by templating a helm chart and then installing the maniests directly
this will be changing shortly, but that's how it currently works
r
ok thanks jaxxstorm
b
check back Monday!
r
wow 👍