Hi. I am having issues installing the `cert-manag...
# kubernetes
r
Hi. I am having issues installing the 
cert-manager
 Helm chart and setting up a LetsEncrypt cluster issuer using Pulumi in our Azure Kubernetes cluster. We are using Kubernetes version 1.21.2 and cert-manager. 1.5.3. When running
pulumi up
I get the following error:
Copy code
kubernetes:<http://cert-manager.io/v1:ClusterIssuer|cert-manager.io/v1:ClusterIssuer> (cert-manager-letsencrypt):
    error: creation of resource cert-manager/letsencrypt failed because the Kubernetes API server reported that the apiVersion for this resource does not exist. Verify that any required CRDs have been created: no matches for kind "ClusterIssuer" in version "<http://cert-manager.io/v1|cert-manager.io/v1>"
    error: update failedaToolsCertManager                 cert-manager
When running 
pulumi up
 again it succeeds and the letsencrypt ClusterIssuer is correctly created. I don't want to have to run 
pulumi up
 consecutive times to reach a successful deployment. Can anyone see what the issue is here?
b
There’s some prior chats about certmanager specifically and the dependency piece
r
So from what I can it has something to do with child dependencies of the chart not being ready
b
I believe so, that was always the conclusion. I don’t know much about the C# SDK specifically, but it may expose the list of all child resources and you can wait on that specifically, as opposed to the HelmChart resource itself.
r
I'm really struggling to figure out the SDK API to do this ... will post my updates
s
in the ClusterIssuer I have (in TypeScript)
Copy code
dependsOn: chart.resources.apply((m) => Object.values(m))
b
I believe Go also exposes all the
Resources