https://pulumi.com logo
#dotnet
Title
# dotnet
a

able-train-72108

09/21/2022, 8:01 PM
I'm looking at the helm chart v3 api of pulumi : https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/chart/#depend-on-a-chart-resource and in the depend on example it states that we need to use the Ready() otherwise it will not work (
Copy code
Note the use of the `Ready()` method; depending on the Chart resource directly will 
        // not work.
) The problem is that I don't find the Ready function in the helm c# api, browsing here; https://github.com/pulumi/pulumi-kubernetes/blob/master/sdk/dotnet/Helm/V3/Chart.cs I cannot find the word ready in the page. I looked at go, python and nodejs sdk and they all have a ready member and it is set to something in the constructor. Is it a limitation of c# or a bug?
b

billowy-army-68599

09/21/2022, 9:28 PM
it’s a believe it’s a limitation of the C# api. I would recommend using
helm.Release
i would recommend opening a github issue
w

worried-city-86458

09/28/2022, 7:48 PM
It should be inherited by Helm.V3.Chart deriving from Yaml.CollectionComponentResource (see Ready method). That said, I'd also recomment using Helm.V3.Release instead.
a

able-train-72108

09/28/2022, 7:49 PM
Hi, sorry I had a very old version of pulumi kubernetes 😬
👍 1
3 Views