Skip to content

[aws-eks] Install custom helm chart from local artifact or from ecr #10421

@captainrandom

Description

@captainrandom

I would like to be able to deploy custom helm charts (either using one of the following options or both):

Here is the cdk resource in question:
https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-eks.HelmChart.html

It is highly possible that the API supports this already, and I miss-understood this ability. At which point, could you add these use cases to the docs on this page (https://docs.aws.amazon.com/cdk/api/latest/docs/aws-eks-readme.html)?

Use Case

Helm charts are a much easier/cleaner way of deploying apps to Kubernetes. I would like to be able to use helm rather than a Kubernetes manifest.

Proposed Solution

Umm ... maybe something like the following:

// or, option2: use `addChart`
cluster.addChart('MyApp', {
  chart: 'my-app',
  chartDir: 'local refeference to chart dir',
  namespace: 'kube-system'
});

or you could instead reference ecr by re-using the repository parameter:

// or, option2: use `addChart`
cluster.addChart('MyApp', {
  chart: 'my-app',
  repository: 'url to ecr repo here' + 'extra stuff to reference the helm part (see ecr repo url in guide on above on how to upload a helm chart)',
  namespace: 'kube-system'
});
  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes Serviceclosed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.feature-requestA feature should be added or improved.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions