kubernetes-sigs/cluster-api

Provide ApplyConfigurations

Aperta

#12.154 aperta il 6 mag 2025

 (13 commenti) (0 reazioni) (1 assegnatario)Go (1532 fork)auto 404
help wantedkind/featurepriority/backlogtriage/accepted

Metriche repository

Star
 (4267 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor