You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import an existing Helm release inside a custom resource, by providing import resource ID in helm release options.
Get this error when running pulumi preview:
error: kubernetes:helm.sh/v3:Release resource 'd-weu-helm-test-application-with-ingress-helm-release': property chart value {pulumi-package-test-app} has a problem: non-absolute URLs should be in form of repo_name/path_to_chart, got: pulumi-package-test-app; check the chart name and repository configuration.
error: Preview failed: one or more inputs failed to validate
The chart parameter is set to an absolute URL.
I also tried providing chart name only and specifying repositoryOpts. Same error.
chart parameter has an absolute URL. This code works well when creating new releases (without import specified).
Output of pulumi about
CLI
Version 3.150.0
Go Version go1.23.6
Go Compiler gc
Plugins
KIND NAME VERSION
resource azure-native 2.88.0
resource command 0.0.1-testwindows.signing
language nodejs 3.150.0
Host
OS Microsoft Windows 11 Enterprise
Version 10.0.22631 Build 22631
Arch x86_64
This project is written in nodejs: executable='C:\Program Files\nodejs\node.exe' version='v22.5.1'
Additional context
No response
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:
error: kubernetes:helm.sh/v3:Release resource 'myRelease': property chart value {pulumi-kubernetes-operator} has a problem: non-absolute URLs should be in form of repo_name/path_to_chart, got: pulumi-kubernetes-operator; check the chart name and repository configuration.
error: Preview failed: one or more inputs failed to validate
It looks like we need to disable Helm release arg validation if we're trying to import using the import resource option.
Hi @rquitales,
Thanks for looking into this. CLI import could work, but it'll be difficult to use it for us. We need to import existing Helm releases into a custom component, so we'll have to deploy an empty custom component, pick up it's URN feed it to the CLI import and etc.
We have a lot of Helm releases to import this way, so having it in the code is the only automated way...
What happened?
I'm trying to import an existing Helm release inside a custom resource, by providing import resource ID in helm release options.
Get this error when running pulumi preview:
The chart parameter is set to an absolute URL.
I also tried providing chart name only and specifying repositoryOpts. Same error.
Example
chart parameter has an absolute URL. This code works well when creating new releases (without import specified).
Output of
pulumi about
CLI
Version 3.150.0
Go Version go1.23.6
Go Compiler gc
Plugins
KIND NAME VERSION
resource azure-native 2.88.0
resource command 0.0.1-testwindows.signing
language nodejs 3.150.0
Host
OS Microsoft Windows 11 Enterprise
Version 10.0.22631 Build 22631
Arch x86_64
This project is written in nodejs: executable='C:\Program Files\nodejs\node.exe' version='v22.5.1'
Additional context
No response
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: