Skip to content

Commit

Permalink
added the new config for eso plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
facchettos committed Jul 4, 2024
1 parent efb095e commit b92b190
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion vcluster/integrations/enterprise-plugins/plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,32 @@ and then run `vcluster create my-vcluster -f vcluster.yaml`

## Part 3: Configuration

Once your virtual cluster is up and running, the plugin should have installed the relevant CRDs, and synchronized ClusterSecretStores into your virtual cluster.
Once your virtual cluster is up and running, the plugin should have installed the relevant CRDs into your virtual cluster.

To add a ClusterSecretStore into your virtual cluster, you need to configure the plugin as follows to add all cluster stores to the virtual cluster:

```yaml
plugins:
eso:
image: ghcr.io/loft-sh/eso-plugin
config:
syncAllClusterStores: true
...
```

or as follows to only add the ones the the `your-org.com/sync-store: true` annotation

```yaml
plugins:
eso:
image: ghcr.io/loft-sh/eso-plugin
config:
syncCssWithAnnotations:
- name: your-org.com/sync-store
value: true
...
```



To add namespaced SecretStores into your virtual cluster, you will have to chose whether you want them to be converted into ClusterSecretStores inside the virtual cluster, or put into specific namespaces. To add a namespaced store as a ClusterSecretStore, just add the following annotation to it `loft.sh/convert-to-cluster-store: <name>`. To add it to multiple namespaces as namespaced stores, add the following annotation `loft.sh/to-namespaces: <namespace-1>,<namespace-2>`, the value of the annotation being a comma separated list of destination namespaces. The two annotations are mutually exclusive, and the cluster store annotation will have precedence over namespaced one.

0 comments on commit b92b190

Please sign in to comment.