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

chore: generate vCluster partials for main version based on values.schema.json in vCluster v0.22.0-beta.4 #396

Merged
merged 3 commits into from
Dec 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
566 changes: 566 additions & 0 deletions configsrc/vcluster/main/default_values.yaml

Large diffs are not rendered by default.

3,832 changes: 3,832 additions & 0 deletions configsrc/vcluster/main/vcluster.schema.json

Large diffs are not rendered by default.

47 changes: 25 additions & 22 deletions vcluster/_partials/config/controlPlane.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ If e.g. controlPlane.distro.k8s.version is set to v1.30.1 and
controlPlane.distro.k8s.scheduler.image.tag
(or controlPlane.distro.k8s.controllerManager.image.tag or controlPlane.distro.k8s.apiServer.image.tag)
is set to v1.31.0,
value from controlPlane.distro.k8s.(controlPlane-component).image.tag will be used
value from controlPlane.distro.k8s.controlPlane-component.image.tag will be used
(where controlPlane-component is apiServer, controllerManager and scheduler).

</summary>
Expand Down Expand Up @@ -147,7 +147,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.30.2</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-distro-k8s-apiServer-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.31.1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-distro-k8s-apiServer-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -283,7 +283,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.30.2</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-distro-k8s-controllerManager-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.31.1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-distro-k8s-controllerManager-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -404,7 +404,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.30.2</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-distro-k8s-scheduler-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.31.1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-distro-k8s-scheduler-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -648,7 +648,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.30.2-k3s1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-distro-k3s-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.31.1-k3s1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-distro-k3s-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -1094,7 +1094,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">3.5.13-0</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-backingStore-etcd-deploy-statefulSet-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">3.5.15-0</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-backingStore-etcd-deploy-statefulSet-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -1763,21 +1763,6 @@ HeadlessService holds options for the external etcd headless service.



<details className="config-field" data-expandable="false" open>
<summary>

##### `enabled` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">boolean</span> <span className="config-field-default">true</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-backingStore-etcd-deploy-headlessService-enabled}

Enabled defines if the etcd headless service should be deployed

</summary>



</details>



<details className="config-field" data-expandable="false" open>
<summary>

Expand Down Expand Up @@ -1993,6 +1978,24 @@ CaFile is the ca file to use for the database. This is optional.



</details>



<details className="config-field" data-expandable="false" open>
<summary>

##### `connector` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-backingStore-database-external-connector}

Connector specifies a secret located in a connected vCluster Platform that contains database server connection information
to be used by Platform to create a database and database user for the vCluster.
and non-privileged user. A kine endpoint should be created using the database and user on Platform registration.
This is optional.

</summary>



</details>


Expand Down Expand Up @@ -2318,7 +2321,7 @@ Labels are extra labels for this resource.
<details className="config-field" data-expandable="false" open>
<summary>

##### `topologySpreadConstraints` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object[]</span> <span className="config-field-default">&#91;map&#91;labelSelector:map&#91;matchLabels:map&#91;k8s-app:kube-dns&#93;&#93; maxSkew:1 topologyKey:kubernetes.io/hostname whenUnsatisfiable:DoNotSchedule&#93;&#93;</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-coredns-deployment-topologySpreadConstraints}
##### `topologySpreadConstraints` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object[]</span> <span className="config-field-default">&#91;map&#91;labelSelector:map&#91;matchLabels:map&#91;k8s-app:vcluster-kube-dns&#93;&#93; maxSkew:1 topologyKey:kubernetes.io/hostname whenUnsatisfiable:DoNotSchedule&#93;&#93;</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#controlPlane-coredns-deployment-topologySpreadConstraints}

TopologySpreadConstraints are the topology spread constraints for the CoreDNS pod.

Expand Down
35 changes: 19 additions & 16 deletions vcluster/_partials/config/controlPlane/backingStore.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">3.5.13-0</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#backingStore-etcd-deploy-statefulSet-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">3.5.15-0</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#backingStore-etcd-deploy-statefulSet-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -852,21 +852,6 @@ HeadlessService holds options for the external etcd headless service.



<details className="config-field" data-expandable="false" open>
<summary>

##### `enabled` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">boolean</span> <span className="config-field-default">true</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#backingStore-etcd-deploy-headlessService-enabled}

Enabled defines if the etcd headless service should be deployed

</summary>



</details>



<details className="config-field" data-expandable="false" open>
<summary>

Expand Down Expand Up @@ -1082,6 +1067,24 @@ CaFile is the ca file to use for the database. This is optional.



</details>



<details className="config-field" data-expandable="false" open>
<summary>

##### `connector` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#backingStore-database-external-connector}

Connector specifies a secret located in a connected vCluster Platform that contains database server connection information
to be used by Platform to create a database and database user for the vCluster.
and non-privileged user. A kine endpoint should be created using the database and user on Platform registration.
This is optional.

</summary>



</details>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,24 @@ CaFile is the ca file to use for the database. This is optional.



</details>



<details className="config-field" data-expandable="false" open>
<summary>

### `connector` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#external-connector}

Connector specifies a secret located in a connected vCluster Platform that contains database server connection information
to be used by Platform to create a database and database user for the vCluster.
and non-privileged user. A kine endpoint should be created using the database and user on Platform registration.
This is optional.

</summary>



</details>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">3.5.13-0</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#deploy-statefulSet-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">3.5.15-0</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#deploy-statefulSet-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -783,21 +783,6 @@ HeadlessService holds options for the external etcd headless service.



<details className="config-field" data-expandable="false" open>
<summary>

#### `enabled` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">boolean</span> <span className="config-field-default">true</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#deploy-headlessService-enabled}

Enabled defines if the etcd headless service should be deployed

</summary>



</details>



<details className="config-field" data-expandable="false" open>
<summary>

Expand Down
2 changes: 1 addition & 1 deletion vcluster/_partials/config/controlPlane/coredns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ Labels are extra labels for this resource.
<details className="config-field" data-expandable="false" open>
<summary>

#### `topologySpreadConstraints` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object[]</span> <span className="config-field-default">&#91;map&#91;labelSelector:map&#91;matchLabels:map&#91;k8s-app:kube-dns&#93;&#93; maxSkew:1 topologyKey:kubernetes.io/hostname whenUnsatisfiable:DoNotSchedule&#93;&#93;</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#coredns-deployment-topologySpreadConstraints}
#### `topologySpreadConstraints` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object[]</span> <span className="config-field-default">&#91;map&#91;labelSelector:map&#91;matchLabels:map&#91;k8s-app:vcluster-kube-dns&#93;&#93; maxSkew:1 topologyKey:kubernetes.io/hostname whenUnsatisfiable:DoNotSchedule&#93;&#93;</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#coredns-deployment-topologySpreadConstraints}

TopologySpreadConstraints are the topology spread constraints for the CoreDNS pod.

Expand Down
12 changes: 6 additions & 6 deletions vcluster/_partials/config/controlPlane/distro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ If e.g. controlPlane.distro.k8s.version is set to v1.30.1 and
controlPlane.distro.k8s.scheduler.image.tag
(or controlPlane.distro.k8s.controllerManager.image.tag or controlPlane.distro.k8s.apiServer.image.tag)
is set to v1.31.0,
value from controlPlane.distro.k8s.(controlPlane-component).image.tag will be used
(where controlPlane-component is apiServer, controllerManager and scheduler).
value from controlPlane.distro.k8s.<controlPlane-component>.image.tag will be used
(where <controlPlane-component is apiServer, controllerManager and scheduler).

</summary>

Expand Down Expand Up @@ -135,7 +135,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.30.2</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#distro-k8s-apiServer-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.31.1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#distro-k8s-apiServer-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -271,7 +271,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.30.2</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#distro-k8s-controllerManager-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.31.1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#distro-k8s-controllerManager-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -392,7 +392,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.30.2</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#distro-k8s-scheduler-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.31.1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#distro-k8s-scheduler-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down Expand Up @@ -636,7 +636,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.30.2-k3s1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#distro-k3s-image-tag}
##### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.31.1-k3s1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#distro-k3s-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down
2 changes: 1 addition & 1 deletion vcluster/_partials/config/controlPlane/distro/k3s.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Repository is the repository of the container image, e.g. my-repo/my-image
<details className="config-field" data-expandable="false" open>
<summary>

#### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.30.2-k3s1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#k3s-image-tag}
#### `tag` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">v1.31.1-k3s1</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#k3s-image-tag}

Tag is the tag of the container image, e.g. latest

Expand Down
Loading
Loading