Skip to content

Commit

Permalink
make docs
Browse files Browse the repository at this point in the history
  • Loading branch information
defo89 committed Sep 26, 2024
1 parent 961d5b3 commit 5925ec8
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 1 deletion.
90 changes: 90 additions & 0 deletions hack/api-reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,20 @@ CloudControllerManagerConfig
<p>CloudControllerManager contains configuration settings for the cloud-controller-manager.</p>
</td>
</tr>
<tr>
<td>
<code>loadBalancerConfig</code></br>
<em>
<a href="#metal.provider.extensions.gardener.cloud/v1alpha1.LoadBalancerConfig">
LoadBalancerConfig
</a>
</em>
</td>
<td>
<em>(Optional)</em>
<p>LoadBalancerConfig contains configuration settings for the shoot loadbalancing.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="metal.provider.extensions.gardener.cloud/v1alpha1.InfrastructureConfig">InfrastructureConfig
Expand Down Expand Up @@ -212,6 +226,39 @@ map[string]bool
<tbody>
</tbody>
</table>
<h3 id="metal.provider.extensions.gardener.cloud/v1alpha1.LoadBalancerConfig">LoadBalancerConfig
</h3>
<p>
(<em>Appears on:</em>
<a href="#metal.provider.extensions.gardener.cloud/v1alpha1.ControlPlaneConfig">ControlPlaneConfig</a>)
</p>
<p>
<p>LoadBalancerConfig contains configuration settings for the shoot loadbalancing.</p>
</p>
<table>
<thead>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>metallbConfig</code></br>
<em>
<a href="#metal.provider.extensions.gardener.cloud/v1alpha1.MetallbConfig">
MetallbConfig
</a>
</em>
</td>
<td>
<em>(Optional)</em>
<p>MetallbConfig contains configuration settings for metallb.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="metal.provider.extensions.gardener.cloud/v1alpha1.MachineImage">MachineImage
</h3>
<p>
Expand Down Expand Up @@ -410,6 +457,49 @@ map[string]string
</tr>
</tbody>
</table>
<h3 id="metal.provider.extensions.gardener.cloud/v1alpha1.MetallbConfig">MetallbConfig
</h3>
<p>
(<em>Appears on:</em>
<a href="#metal.provider.extensions.gardener.cloud/v1alpha1.LoadBalancerConfig">LoadBalancerConfig</a>)
</p>
<p>
<p>MetallbConfig contains configuration settings for metallb.</p>
</p>
<table>
<thead>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<code>ipAddressPool</code></br>
<em>
[]string
</em>
</td>
<td>
<em>(Optional)</em>
<p>IPAddressPool contains IP address pools for metallb.</p>
</td>
</tr>
<tr>
<td>
<code>enableSpeaker</code></br>
<em>
bool
</em>
</td>
<td>
<em>(Optional)</em>
<p>EnableSpeaker enables the metallb speaker.</p>
</td>
</tr>
</tbody>
</table>
<h3 id="metal.provider.extensions.gardener.cloud/v1alpha1.RegionConfig">RegionConfig
</h3>
<p>
Expand Down
5 changes: 5 additions & 0 deletions pkg/apis/metal/types_controlplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
3 changes: 2 additions & 1 deletion pkg/apis/metal/v1alpha1/types_controlplane.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5925ec8

Please sign in to comment.