kubernetes-sigs/cluster-api

Provide ApplyConfigurations

開放

#12,154 建立於 2025年5月6日

 (13 則留言) (0 個反應) (1 位負責人)Go (1,532 個分叉)auto 404
help wantedkind/featurepriority/backlogtriage/accepted

倉庫指標

星標
 (4,267 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南