Skip to content

Commit

Permalink
Merge pull request #222 from facchettos/runtime-classes
Browse files Browse the repository at this point in the history
added runtime classes sync from host
  • Loading branch information
FabianKramm authored Aug 7, 2024
2 parents bed6dde + 982dd07 commit c85b035
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
28 changes: 28 additions & 0 deletions vcluster/_partials/config/sync/fromHost/runtimeClasses.mdx
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>
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/>

0 comments on commit c85b035

Please sign in to comment.