Could someone tell me what I am doing wrong here? ...
# dotnet
g
Could someone tell me what I am doing wrong here? If I set the
Namespace
to an Output<string> it fails preview with
Copy code
Grpc.Core.RpcException: Status(StatusCode="Unknown", Detail="setting args: copying input "helmOptions": expected destination type to implement pulumi.Input or pulumi.Output, got helmbase.ReleaseType")
Copy code
var certmanns = new Namespace("cert-manager", new NamespaceArgs()
{
    Metadata = new ObjectMetaArgs()
    {
        Name = "cert-manager"
    }
});

var certman = new CertManager("cert-manager", new()
{
    HelmOptions = new Pulumi.KubernetesCertManager.Inputs.ReleaseArgs
    {
        Namespace = certmanns.Metadata.Apply(x=>x.Namespace)
    }
});
A plain string works fine
e
That looks right, I think this is a bug in the CertManager provider. If you raise an issue at https://github.com/pulumi/pulumi-kubernetes-cert-manager/issues with that code snippet we can take a look into it.
g
Ok will do. I'm having the same issue with the ingress provider as well. Thanks