This message was deleted.
# general
s
This message was deleted.
b
You need to define a provider and then pass that provider to your helm chart. There are examples in this repo https://github.com/pulumi/examples Search for Chart in your language of choice
If you’re struggling to find them, let me know which languages you’re using and I can find one
s
Thanks, let me take a look.
Ok, so I've been using TS, but I took a look at the C# example as well. I've seen the K8s provider somewhere before, but didn't see anything in the examples that spins up a cluster and applies the charts in the same deployment script. Can you recommend an example?
Hey mate, think I found an example for the
helm.v2.Chart
that will work for
v3
as well: https://github.com/pulumi/pulumi-kubernetes
Weirdly, though, even though I have now
Copy code
{
    providers: { kubernetes: eksCluster.provider },
    dependsOn: [eksCluster, istioIngress],
  },
It doesn't seem to be waiting for the cluster to come up, and is erroring out trying to get the k8s server version.
I'm getting a bunch of this:
Copy code
error: Error: invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: could not get server version from Kubernetes: Get "...": x509: certificate is not valid for any names, but wanted to match ...