I am using eks-blueprint-add-ons along with ArgoCD App of Apps pattern via eks-blueprints and terraform. Below is my configs. I cannot get the service account created for the cluster autoscaler add on to properly populate annotations so IRSA works correctly.
apiVersion: v2
name: cluster-autoscaler
description: A Helm chart for installing cluster-autoscaler
type: application
# The chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.0
# Version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: "1.0"
dependencies:
- name: cluster-autoscaler
version: 9.15.0
repository: https://kubernetes.github.io/autoscaler
I was able to resolve this. Something was wrong with my values.yaml file and version 9.15.0. After taking the values from the latest chart and updating the Chart.yaml and refreshed, it started working.
I am using eks-blueprint-add-ons along with ArgoCD App of Apps pattern via eks-blueprints and terraform. Below is my configs. I cannot get the service account created for the cluster autoscaler add on to properly populate annotations so IRSA works correctly.
ArgoCD terraform config:
ArgoCD helm values.yaml:
In
/add-ons/cluster-autoscaler/values.yaml
:In
/add-ons/cluster-autoscaler/Chart.yaml
:In
/chart/values.yaml
:ArgoCD sees the values:
However, the serviceaccount created in the cluster does not have the annotation:
kubectl describe serviceaccount clusterautoscaler -n kube-system
Am i doing something wrong here? Appreciate the help.
EDIT: To add to this, i ended up modifying the values.yaml to such:
Still doesnt work via ArgoCD. However, if run a
helm template
onvalues.yaml
its working correctly: