-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to import Helm Release #2014
Comments
Hey @kwohlfahrt My apologies for this issue - this certainly feels like a bug and something we need to get fixed up - I need to talk to the team about this to ensure that we get the correct fix in place here I will leave this open of course so that you can track the progress of the work Paul |
Stumbled exactly the same behavior when running
|
Hey guys, did this issue get in the roadmap or prioritized? |
Apologies for the delays here. The main issue is that helm itself doesn't record chart information in the release which makes it impossible for us to support a soup-to-nuts import with the repository information. In order to provide some meaningful information as part of the release creation process we do some degree of introspection on the chart but the same code path is entered during imports where this information is missing, causing issues. We have a potential fix in #2136 which seems to work well for the above scenarios. I will update this issue when that is ready to be merged. |
im on 3.80.x and still can't import the helm release, is there any workaround? |
Was this fixed? I still have to do the hack to get it to import properly:
|
Thank you so much for this workaround you saved me a tons of headaches editing state files manually |
one thing i can't get pass is that its importing using the default provider of k8s, can't specify another provider urn tried any other combo like admin=URN and it doesnt work |
i finally got it with
|
since this was hard to complete i documented it here in my blog post I understand that once this is fixed we won't need that but this is still an issue, and we need this to be re-opened, perhaps it was a regression that remove the fix 🤷 |
What happened?
I am trying to import an existing Helm Release. However, this works neither through specifying
{ import: "namespace/release" }
and usingpulumi up
, or usingpulumi import
.Steps to reproduce
Install the Helm Release. In my case, this example (the repo was already present) is one but it has occurred with every repo I tried to import:
Then, try either
pulumi import kubernetes:helm.sh/v3:Release nvidia-device-plugin nvidia-device-plugin/nvidia-device-plugin
, orpulumi up
with the following configuration:Expected Behavior
I expect the resource to be imported.
Actual Behavior
Using the
pulumi import
command, I get the following error:Using the
pulumi up
version, I see what looks like a successful import plan:However, when trying the import, I get:
Versions used
Additional context
I can kind of work around the issue with the following:
This creates a copy of the Helm archive in the local directory, with the name
nvidia-device-plugin
. But it's a very manual and quite hacky workaround.Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: