This message was deleted.
# general
s
This message was deleted.
g
The means that the k8s provider version you’re using is too old for the SDK. In other words, the plugin doesn’t include that method (added in v2.5.1), so the function invoke is failing. You should be able to download a more recent version with
pulumi plugin install resource kubernetes v2.6.1
I’m looking into why this wasn’t resolved automatically.
b
ah cheers Levi
👍 1
i'm getting this now when i try to deploy an ALB
Copy code
Diagnostics:
  pulumi:pulumi:Stack (aws-staging):
    error: program failed: failed to invoke helm template: rpc error: code = Unknown desc = invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: failed to pull chart: chart "incubator/aws-alb-ingress-controller" not found in <http://storage.googleapis.com/kubernetes-charts-incubator> repository
    exit status 1
from
Copy code
func (w *worker) applyAlbCharts(ctx *pulumi.Context, namespace string) error {
	_, err := helm.NewChart(ctx, fmt.Sprintf("axiom-alb-charts-%s", w.targetEnv), helm.ChartArgs{
		Chart:     pulumi.String("incubator/aws-alb-ingress-controller"),
		Namespace: pulumi.String(namespace),
		FetchArgs: helm.FetchArgs{
			Repo: pulumi.String("<http://storage.googleapis.com/kubernetes-charts-incubator>"),
		},
		Values: pulumi.Map{
			"clusterName":           w.eksCluster.Name,
			"autoDiscoverAwsRegion": pulumi.Bool(true),
			"autoDiscoverAwsVpcID":  pulumi.Bool(true),
		},
	})
	if err != nil {
		return err
	}

	return nil
}
g
I think
Chart
shouldn’t include the
inclubator/
prefix
I’m looking into why this wasn’t resolved automatically
Fixed in https://github.com/pulumi/pulumi-kubernetes/pull/1325