-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[aws-eks] Install custom helm chart from local artifact or from ecr #10421
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes ServiceRelated to Amazon Elastic Kubernetes Serviceclosed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.This issue was automatically closed because it hadn't received any attention in a while.feature-requestA feature should be added or improved.A feature should be added or improved.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Description
I would like to be able to deploy custom helm charts (either using one of the following options or both):
- deploy a helm chart from a local file committed to the repo. When building/deploying in ci it is locally referenceable
- deploy a helm chart that was pushed to ecr: https://docs.aws.amazon.com/AmazonECR/latest/userguide/push-oci-artifact.html
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-eksRelated to Amazon Elastic Kubernetes ServiceRelated to Amazon Elastic Kubernetes Serviceclosed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.This issue was automatically closed because it hadn't received any attention in a while.feature-requestA feature should be added or improved.A feature should be added or improved.response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.