Skip to content

Provide ApplyConfigurations #12154

@cwrau

Description

@cwrau

What would you like to be added (User Story)?

As an operator I want to provision Clusters via Go using SSA because SSA makes it easier to work together on the same resource, e.g. Clusters which get their controlPlaneEndpoint, controlPlaneRef, infrastructureRef, ... set by another operator (cluster-api).

Detailed Description

As an operator I want to provision Clusters via Go using SSA. As far as I can tell SSA is implemented via ApplyConfigurations.

Therefore, I'd like to have these provided by cluster-api.

Anything else you would like to add?

I've tested adding // +genclient to https://github.com/kubernetes-sigs/cluster-api/blob/main/api/v1beta2/cluster_types.go?plain=1#L1169 which allowed me to generate these configurations from my application, but I'm not sure how to hook into your CI and where to generate the code to, ...

Label(s) to be applied

/kind feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.priority/backlogHigher priority than priority/awaiting-more-evidence.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions