kubernetes-sigs/cluster-api-provider-aws

Support installing "latest" EKS addon

Open

#5,184 opened on Oct 25, 2024

View on GitHub
 (4 comments) (0 reactions) (1 assignee)Go (689 forks)auto 404
help wantedkind/featurepriority/important-longtermtriage/accepted

Repository metrics

Stars
 (723 stars)
PR merge metrics
 (PR metrics pending)

Description

/kind feature

Describe the solution you'd like

Currently when you specify EKS addons to be installed in AWSManagedControlPlane you need to specify the specific version of the addon. It would also be good to support installing the latest supported version of the addon.

So currently you need to do:

  spec:
    addons:
    - conflictResolution: overwrite
      name: vpc-cni
      version: v1.18.1-eksbuild.3

But it would also be nice to support the following:

  spec:
    addons:
    - conflictResolution: overwrite
      name: vpc-cni
      version: latest

If latest is specified then we need to query for the latest supported version for the cluster/k8s version (using DescribeAddonVersions) and use that.

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api-provider-aws version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

Contributor guide