From 5925ec800d5c2c7450911b552115459c78417623 Mon Sep 17 00:00:00 2001
From: Dmitri Fedotov CloudControllerManager contains configuration settings for the cloud-controller-manager. LoadBalancerConfig contains configuration settings for the shoot loadbalancing.
+(Appears on:
+ControlPlaneConfig)
+
+ LoadBalancerConfig contains configuration settings for the shoot loadbalancing.
+
+
+loadBalancerConfig
+
+
+LoadBalancerConfig
+
+
+
+(Optional)
+
+InfrastructureConfig
@@ -212,6 +226,39 @@ map[string]bool
+
LoadBalancerConfig
+
+
Field | +Description | +
---|---|
+metallbConfig
+
+
+MetallbConfig
+
+
+ |
+
+(Optional)
+ MetallbConfig contains configuration settings for metallb. + |
+
@@ -410,6 +457,49 @@ map[string]string +
+(Appears on: +LoadBalancerConfig) +
++
MetallbConfig contains configuration settings for metallb.
+ +Field | +Description | +
---|---|
+ipAddressPool
+
+[]string
+
+ |
+
+(Optional)
+ IPAddressPool contains IP address pools for metallb. + |
+
+enableSpeaker
+
+bool
+
+ |
+
+(Optional)
+ EnableSpeaker enables the metallb speaker. + |
+
diff --git a/pkg/apis/metal/types_controlplane.go b/pkg/apis/metal/types_controlplane.go index d47f3c7..e166ef3 100644 --- a/pkg/apis/metal/types_controlplane.go +++ b/pkg/apis/metal/types_controlplane.go @@ -29,10 +29,15 @@ type CloudControllerManagerConfig struct { // LoadBalancerConfig contains configuration settings for the shoot loadbalancing. type LoadBalancerConfig struct { + // MetallbConfig contains configuration settings for metallb. MetallbConfig *MetallbConfig } +// MetallbConfig contains configuration settings for metallb. type MetallbConfig struct { + // IPAddressPool contains IP address pools for metallb. IPAddressPool []string + + // EnableSpeaker enables the metallb speaker. EnableSpeaker bool } diff --git a/pkg/apis/metal/v1alpha1/types_controlplane.go b/pkg/apis/metal/v1alpha1/types_controlplane.go index dfb83be..f772829 100644 --- a/pkg/apis/metal/v1alpha1/types_controlplane.go +++ b/pkg/apis/metal/v1alpha1/types_controlplane.go @@ -32,11 +32,12 @@ type CloudControllerManagerConfig struct { // LoadBalancerConfig contains configuration settings for the shoot loadbalancing. type LoadBalancerConfig struct { + // MetallbConfig contains configuration settings for metallb. // +optional MetallbConfig *MetallbConfig `json:"metallbConfig,omitempty"` } -// LoadBalancerConfig contains configuration settings for metallb. +// MetallbConfig contains configuration settings for metallb. type MetallbConfig struct { // IPAddressPool contains IP address pools for metallb. // +optional