Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete statements regarding HA and kine configuration from docs #815

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions api/k0smotron.io/v1beta1/k0smotroncluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,9 @@ type ClusterSpec struct {
//+kubebuilder:validation:Optional
Persistence PersistenceSpec `json:"persistence,omitempty"`
// KineDataSourceURL defines the kine datasource URL.
// KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
// and one of them must be set if replicas > 1.
//+kubebuilder:validation:Optional
KineDataSourceURL string `json:"kineDataSourceURL,omitempty"`
// KineDataSourceSecretName defines the name of kine datasource URL secret.
// KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
// and one of them must be set if replicas > 1.
//+kubebuilder:validation:Optional
KineDataSourceSecretName string `json:"kineDataSourceSecretName,omitempty"`
// k0sConfig defines the k0s configuration. Note, that some fields will be overwritten by k0smotron.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,11 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
kineDataSourceSecretName:
description: |-
KineDataSourceSecretName defines the name of kine datasource URL secret.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceSecretName defines the name of kine datasource
URL secret.
type: string
kineDataSourceURL:
description: |-
KineDataSourceURL defines the kine datasource URL.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceURL defines the kine datasource URL.
type: string
manifests:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,16 +183,12 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
kineDataSourceSecretName:
description: |-
KineDataSourceSecretName defines the name of kine datasource URL secret.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceSecretName defines the name of
kine datasource URL secret.
type: string
kineDataSourceURL:
description: |-
KineDataSourceURL defines the kine datasource URL.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceURL defines the kine datasource
URL.
type: string
manifests:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,16 +160,11 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
kineDataSourceSecretName:
description: |-
KineDataSourceSecretName defines the name of kine datasource URL secret.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceSecretName defines the name of kine datasource
URL secret.
type: string
kineDataSourceURL:
description: |-
KineDataSourceURL defines the kine datasource URL.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceURL defines the kine datasource URL.
type: string
manifests:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,16 +157,11 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
kineDataSourceSecretName:
description: |-
KineDataSourceSecretName defines the name of kine datasource URL secret.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceSecretName defines the name of kine datasource
URL secret.
type: string
kineDataSourceURL:
description: |-
KineDataSourceURL defines the kine datasource URL.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceURL defines the kine datasource URL.
type: string
manifests:
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,16 +183,12 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
kineDataSourceSecretName:
description: |-
KineDataSourceSecretName defines the name of kine datasource URL secret.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceSecretName defines the name of
kine datasource URL secret.
type: string
kineDataSourceURL:
description: |-
KineDataSourceURL defines the kine datasource URL.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceURL defines the kine datasource
URL.
type: string
manifests:
description: |-
Expand Down
11 changes: 3 additions & 8 deletions config/crd/bases/k0smotron.io_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,16 +160,11 @@ spec:
type: object
x-kubernetes-preserve-unknown-fields: true
kineDataSourceSecretName:
description: |-
KineDataSourceSecretName defines the name of kine datasource URL secret.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceSecretName defines the name of kine datasource
URL secret.
type: string
kineDataSourceURL:
description: |-
KineDataSourceURL defines the kine datasource URL.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.
description: KineDataSourceURL defines the kine datasource URL.
type: string
manifests:
description: |-
Expand Down
24 changes: 6 additions & 18 deletions docs/resource-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2814,18 +2814,14 @@ If empty, will be used default configuration. @see https://docs.k0sproject.io/st
<td><b>kineDataSourceSecretName</b></td>
<td>string</td>
<td>
KineDataSourceSecretName defines the name of kine datasource URL secret.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.<br/>
KineDataSourceSecretName defines the name of kine datasource URL secret.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>kineDataSourceURL</b></td>
<td>string</td>
<td>
KineDataSourceURL defines the kine datasource URL.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.<br/>
KineDataSourceURL defines the kine datasource URL.<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down Expand Up @@ -11239,18 +11235,14 @@ If empty, will be used default configuration. @see https://docs.k0sproject.io/st
<td><b>kineDataSourceSecretName</b></td>
<td>string</td>
<td>
KineDataSourceSecretName defines the name of kine datasource URL secret.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.<br/>
KineDataSourceSecretName defines the name of kine datasource URL secret.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>kineDataSourceURL</b></td>
<td>string</td>
<td>
KineDataSourceURL defines the kine datasource URL.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.<br/>
KineDataSourceURL defines the kine datasource URL.<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down Expand Up @@ -35579,18 +35571,14 @@ If empty, will be used default configuration. @see https://docs.k0sproject.io/st
<td><b>kineDataSourceSecretName</b></td>
<td>string</td>
<td>
KineDataSourceSecretName defines the name of kine datasource URL secret.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.<br/>
KineDataSourceSecretName defines the name of kine datasource URL secret.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>kineDataSourceURL</b></td>
<td>string</td>
<td>
KineDataSourceURL defines the kine datasource URL.
KineDataSourceURL or KineDataSourceSecretName are required for HA controlplane setup
and one of them must be set if replicas > 1.<br/>
KineDataSourceURL defines the kine datasource URL.<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down
Loading