Skip to content

Support PRESERVE in Addon conflictResolution #5524

@kemv

Description

@kemv

/kind feature

Describe the solution you'd like
[A clear and concise description of what you want to happen.]
When defining addons for the EKS cluster, it seems the only conflictResolution methods available are overwrite and none (https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/controlplane/eks/api/v1beta2/types.go#L149).

For my use-case i'd like to use the third method supported by AWS: PRESERVE (see https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/update-addon.html). Perhaps it wouldn't be a big change to support this.

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

Environment:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions