[aws-eks] Values passed to AddHelmChart are not getting applied
See original GitHub issueI am trying to apply the Helm chart for “aws-load-balancer-controller” from this EKS charts repository https://github.com/aws/eks-charts/tree/master/stable/aws-load-balancer-controller
I am following the documentation from https://www.eksworkshop.com/beginner/180_fargate/prerequisites-for-alb/ and trying to setup the same via CDK. I have created an iamserviceaccount “aws-load-balancer-controller-test” and i am passing this service account to the chart values like below to my Fargate cluster. But when the cluster comes up, the installation has not taken my service account and instead it is creating a new service account irrespective of the data i passed for values.
cluster.AddHelmChart("albHelm", new HelmChartOptions
{
Namespace = "kube-system",
Repository = "https://aws.github.io/eks-charts",
Chart = "aws-load-balancer-controller",
Release = "aws-load-balancer-controller",
Values = new Dictionary<string, object> {
["clusterName"] = cluster.ClusterName,
["serviceAccount.create"] = false,
["serviceAccount.name"] = "aws-load-balancer-controller-test",
},
Wait = true,
Timeout = Duration.Minutes(15)
});
Environment
- CDK CLI Version: 1.73.0
- Node.js Version: v14.15.0
- OS: Windows 10
- Language (Version): C#
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Amazon EKS Construct Library - AWS Documentation
Helm charts will be installed and updated using helm upgrade --install , where a few parameters are being passed down (such as repo...
Read more >Extensibility - Amazon EKS Blueprints Quick Start
Here is an example of a secret volume and volume mount passed as values to a Helm chart: const chart = this.addHelmChart ......
Read more >AWS CDK for EKS — Handling Helm Charts - ITNEXT
The helm template command is very handy to verify the output of helm chart templates and values. This output can be applied directly...
Read more >circleci/aws-eks@2.2.0
no -output-timeout. Elapsed time that the cluster creation command can run on CircleCI without output. The string is a decimal with unit suffix, ......
Read more >How to install AWS Load Balancer Controller in a CDK project
Install the TargetGroupBinding CRDs if upgrading the chart via helm upgrade. kubectl apply -k "github.com/aws/eks-charts/stable/aws-load- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was having the same problem (in typscript). It turned out the values should be passed as an object:
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.