Drop initial code

This commit is contained in:
Danny Bessems
2026-01-15 09:58:01 +00:00
parent 227d957219
commit 1e7c9ba5cb
228 changed files with 19883 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
sequenceDiagram
participant User
participant Controller
participant InfraBP as InfraBlueprint
participant ProviderBP as Harvester/Vsphere BP
participant Strategy
participant Builder as MasterBuilder
participant Helm
User->>Controller: Create ClusterBlueprint
Controller->>InfraBP: 1. Get Infra & Quota
InfraBP-->>Controller: ProviderRef (Kind="HarvesterBlueprint")
note over Controller: Dynamic Switching Logic
alt Kind is Harvester
Controller->>ProviderBP: 2. Get Harvester Config
Controller->>Strategy: 3. Init HarvesterStrategy
else Kind is Vsphere
Controller->>ProviderBP: 2. Get Vsphere Config
Controller->>Strategy: 3. Init VsphereStrategy
end
Controller->>Builder: 4. Build(Strategy)
Builder->>Strategy: GenerateNodePools()
Strategy-->>Builder: [Pool A, Pool B]
Builder-->>Controller: map[values]
Controller->>Helm: 5. Apply(values)