Skip to content

fix(installer): move MetalLB config under Cluster struct - #636

Draft
OliverTrautvetter wants to merge 12 commits into
mainfrom
fix/init-install-config-generation
Draft

fix(installer): move MetalLB config under Cluster struct#636
OliverTrautvetter wants to merge 12 commits into
mainfrom
fix/init-install-config-generation

Conversation

@OliverTrautvetter

@OliverTrautvetter OliverTrautvetter commented Aug 4, 2026

Copy link
Copy Markdown
Member

This pull request refactors how MetalLB configuration is handled throughout the codebase, moving the MetalLB configuration from the root level of RootConfig into the nested ClusterConfig struct. Additionally, it introduces new Kubernetes network configuration flags and ensures proper defaulting for certificate issuer type.

  • Moved the MetalLB configuration from the root of RootConfig to be under ClusterConfig, updating all code references accordingly to use config.Cluster.MetalLB instead of config.MetalLB
  • Added new CLI flags --k8s-pod-cidr and --k8s-service-cidr to allow specifying Pod and Service CIDRs when not using Codesphere-managed Kubernetes

Clickup and Clickup

Signed-off-by: OliverTrautvetter <66372584+OliverTrautvetter@users.noreply.github.com>
@OliverTrautvetter
OliverTrautvetter marked this pull request as ready for review August 4, 2026 12:13
@OliverTrautvetter
OliverTrautvetter requested review from joka134 and removed request for joka134 August 4, 2026 12:13
@OliverTrautvetter
OliverTrautvetter marked this pull request as draft August 5, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant