-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from facchettos/runtime-classes
added runtime classes sync from host
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
vcluster/_partials/config/sync/fromHost/runtimeClasses.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
<details className="config-field" data-expandable="true"> | ||
<summary> | ||
|
||
## `runtimeClasses` <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> <span data-pro="false" className="config-field-pro">pro</span> {#runtimeClasses} | ||
|
||
RuntimeClasses defines if runtime classes should get synced from the host cluster to the virtual cluster, but not back. | ||
|
||
</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> <span data-pro="false" className="config-field-pro">pro</span> {#runtimeClasses-enabled} | ||
|
||
Enabled defines if this option should be enabled. | ||
|
||
</summary> | ||
|
||
|
||
|
||
</details> | ||
|
||
|
||
</details> |
26 changes: 26 additions & 0 deletions
26
vcluster/configure/vcluster-yaml/sync/from-host/runtime-classes.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: Runtime Classes | ||
sidebar_label: runtimeClasses | ||
sidebar_position: 3 | ||
description: Configuration for ... | ||
--- | ||
|
||
import EnableSwitch from '@site/vcluster/_partials/config/sync/fromHost/runtimeClasses.mdx' | ||
|
||
By default, this is disabled. | ||
|
||
Sync RuntimeClass resources from the host cluster to the virtual cluster. | ||
|
||
### Enable Syncing RuntimeClasses from the Host to Virtual Cluster | ||
|
||
|
||
```YAML | ||
sync: | ||
fromHost: | ||
runtimeClasses: | ||
enabled: true | ||
``` | ||
## Config reference | ||
<EnableSwitch/> |