Skip to content

v1beta2 contract: convert FailureDomains from map to list #6107

Description

@damdo

Parent: #5448

In the new v1beta3 types, FailureDomains uses a list ([]clusterv1.FailureDomain with listType=map, listMapKey=name) instead of a map (clusterv1beta1.FailureDomains = map[string]FailureDomainSpec).

Affects v1beta3 versions of: AWSCluster, AWSManagedCluster, AWSManagedControlPlane, ROSACluster.

The v1beta2 spoke types keep the map representation. Conversion webhooks handle map↔list translation. CAPI's internal/contract/infrastructure_cluster.go:141 also handles this based on contract version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/apiIssues or PRs related to the APIsneeds-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions