Skip to content
Open
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
18 changes: 18 additions & 0 deletions configsrc/vcluster/0.33.0/default_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,21 @@ controlPlane:
spec:
tls: []

# TLSRoute defines options for vCluster TLS route deployed by Helm.
tlsRoute:
# Enabled defines if the control plane should be exposed via a gateway api tls route. Make sure to enable tls passthrough in the gateway via tls.mode to "Passthrough"
enabled: false
# APIVersion is the version of the gateway api tls route.
apiVersion: gateway.networking.k8s.io/v1
# Host is the host where vCluster will be reachable
host: "my-host.com"
# ParentRefs are the parent references for the TLS route
parentRefs: []
# Spec allows you to configure extra tls route options.
spec: {}
labels: {}
annotations: {}

# Standalone holds configuration for standalone mode. Standalone mode is set automatically when no container is detected and
# also implies privateNodes.enabled.
standalone:
Expand Down Expand Up @@ -1242,6 +1257,9 @@ experimental:
manifestsTemplate: ""
# Helm are Helm charts that should get deployed into the virtual cluster
helm: []

# NodeMonitors allows you to create a service monitor for each node.
nodeMonitors: []

# Configuration related to telemetry gathered about vCluster usage.
telemetry:
Expand Down
142 changes: 142 additions & 0 deletions configsrc/vcluster/0.33.0/vcluster.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@
"$ref": "#/$defs/ControlPlaneIngress",
"description": "Ingress defines options for vCluster ingress deployed by Helm."
},
"tlsRoute": {
"$ref": "#/$defs/ControlPlaneTLSRoute",
"description": "TLSRoute defines options for vCluster TLS route deployed by Helm."
},
"service": {
"$ref": "#/$defs/ControlPlaneService",
"description": "Service defines options for vCluster service deployed by Helm."
Expand Down Expand Up @@ -849,6 +853,53 @@
},
"type": "array",
"description": "HostAliases allows you to add custom entries to the /etc/hosts file of each Pod created."
},
"runtimeClassName": {
"type": "string",
"description": "RuntimeClassName is the runtime class to set for the statefulSet pods."
}
},
"additionalProperties": false,
"type": "object"
},
"ControlPlaneTLSRoute": {
"properties": {
"enabled": {
"type": "boolean",
"description": "Enabled defines if the control plane should be exposed via a gateway api tls route. Make sure to enable tls passthrough in the gateway via tls.mode to \"Passthrough\""
},
"apiVersion": {
"type": "string",
"description": "APIVersion is the version of the gateway api tls route."
},
"host": {
"type": "string",
"description": "Host is the host where vCluster will be reachable"
},
"parentRefs": {
"items": {
"type": "object"
},
"type": "array",
"description": "ParentRefs are the parent references for the TLS route"
},
"spec": {
"type": "object",
"description": "Spec allows you to configure extra tls route options."
},
"annotations": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "Annotations are extra annotations for this resource."
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "Labels are extra labels for this resource."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -1748,6 +1799,13 @@
"docker": {
"$ref": "#/$defs/ExperimentalDocker",
"description": "Docker allows you to configure Docker related settings when deploying a vCluster using Docker."
},
"nodeMonitors": {
"items": {
"$ref": "#/$defs/ExperimentalNodeMonitor"
},
"type": "array",
"description": "NodeMonitors allows you to create a service monitor for each node."
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -1983,6 +2041,90 @@
"additionalProperties": false,
"type": "object"
},
"ExperimentalNodeMonitor": {
"properties": {
"name": {
"type": "string",
"description": "Name is the name of the monitor. It will be suffixed with the node name."
},
"nodeSelector": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "NodeSelector defines the node selector for the service monitor."
},
"endpoints": {
"items": {
"$ref": "#/$defs/ExperimentalNodeServiceMonitorEndpoint"
},
"type": "array",
"description": "Endpoints is a list of endpoints to add to the service monitor. By default, vCluster will relabel the node and instance label to the node name."
},
"spec": {
"type": "object",
"description": "Spec allows you to configure extra service monitor options that will be merged into the spec."
},
"annotations": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "Annotations are extra annotations for this resource."
},
"labels": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"description": "Labels are extra labels for this resource."
}
},
"additionalProperties": false,
"type": "object"
},
"ExperimentalNodeServiceMonitorEndpoint": {
"properties": {
"path": {
"type": "string",
"description": "Path is the kubelet path of the endpoint. vCluster will prepend /api/v1/nodes/NODE_NAME to the path."
},
"params": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "object",
"description": "Params allows you to configure extra parameters to add to the endpoint."
},
"extraRelabelings": {
"items": {
"type": "object"
},
"type": "array",
"description": "ExtraRelabelings allows you to configure extra relabelings to add to the endpoint. By default, vCluster will relabel the node and instance label to the node name."
},
"metricsRelabelings": {
"items": {
"type": "object"
},
"type": "array",
"description": "MetricsRelabelings allows you to configure extra metrics relabelings to add to the endpoint."
},
"interval": {
"type": "string",
"description": "Interval is the interval at which to scrape the endpoint."
},
"scrapeTimeout": {
"type": "string",
"description": "ScrapeTimeout is the timeout for the scrape of the endpoint."
}
},
"additionalProperties": false,
"type": "object"
},
"ExperimentalSyncSettings": {
"properties": {
"setOwner": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3094,6 +3094,126 @@ Labels are extra labels for this resource.



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

### `tlsRoute` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> {#controlPlane-tlsRoute}

TLSRoute defines options for vCluster TLS route deployed by Helm.

</summary>




<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">false</span> <span className="config-field-enum"></span> {#controlPlane-tlsRoute-enabled}

Enabled defines if the control plane should be exposed via a gateway api tls route. Make sure to enable tls passthrough in the gateway via tls.mode to "Passthrough"

</summary>



</details>



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

#### `apiVersion` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">gateway.networking.k8s.io/v1</span> <span className="config-field-enum"></span> {#controlPlane-tlsRoute-apiVersion}

APIVersion is the version of the gateway api tls route.

</summary>



</details>



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

#### `host` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">string</span> <span className="config-field-default">my-host.com</span> <span className="config-field-enum"></span> {#controlPlane-tlsRoute-host}

Host is the host where vCluster will be reachable

</summary>



</details>



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

#### `parentRefs` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object[]</span> <span className="config-field-default">&#91;&#93;</span> <span className="config-field-enum"></span> {#controlPlane-tlsRoute-parentRefs}

ParentRefs are the parent references for the TLS route

</summary>



</details>



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

#### `spec` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object</span> <span className="config-field-default">&#123;&#125;</span> <span className="config-field-enum"></span> {#controlPlane-tlsRoute-spec}

Spec allows you to configure extra tls route options.

</summary>



</details>



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

#### `annotations` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object</span> <span className="config-field-default">&#123;&#125;</span> <span className="config-field-enum"></span> {#controlPlane-tlsRoute-annotations}

Annotations are extra annotations for this resource.

</summary>



</details>



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

#### `labels` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object</span> <span className="config-field-default">&#123;&#125;</span> <span className="config-field-enum"></span> {#controlPlane-tlsRoute-labels}

Labels are extra labels for this resource.

</summary>



</details>


</details>



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

Expand Down Expand Up @@ -4429,6 +4549,21 @@ HostAliases allows you to add custom entries to the /etc/hosts file of each Pod
</details>


</details>



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

#### `runtimeClassName` <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> {#controlPlane-statefulSet-runtimeClassName}

RuntimeClassName is the runtime class to set for the statefulSet pods.

</summary>



</details>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,21 @@ HostAliases allows you to add custom entries to the /etc/hosts file of each Pod
</details>


</details>



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

### `runtimeClassName` <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> {#statefulSet-runtimeClassName}

RuntimeClassName is the runtime class to set for the statefulSet pods.

</summary>



</details>


Expand Down
Loading
Loading