Skip to content

Commit

Permalink
Remove obsolete statements regarding HA and kine configuration from docs
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Makhov <amakhov@mirantis.com>
  • Loading branch information
makhov committed Nov 15, 2024
1 parent 8289096 commit 4a0a033
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 70 deletions.
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
11 changes: 3 additions & 8 deletions config/clusterapi/k0smotron.io/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
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

0 comments on commit 4a0a033

Please sign in to comment.