Skip to main content
Version: v0.38 Stable

ConfigMaps

Supported Configurations
Running the control plane as a container with:

By default, this is enabled.

Sync ConfigMap resources that are used by pods from the cluster to the control plane cluster. Apps frequently need configuration data to function.

Sync only used ConfigMaps from the tenant to control plane cluster​

Sync any ConfigMap that is used by a Pod synced from the tenant to control plane cluster.

sync:
toHost:
configMaps:
enabled: true

Sync all ConfigMaps from the tenant to control plane cluster​

If you have a resource in the control plane cluster monitoring ConfigMap objects that aren't required by a Pod to run, then you can enable the all option.

sync:
toHost:
configMaps:
enabled: true
all: true

Patches​

Use sync.toHost.configMaps.patches to transform ConfigMap fields while syncing to the control plane cluster. See Patching synced resources for syntax, directionality, and examples.

Config reference​

Do Not Disable

Disabling the syncing of this resource could cause the vCluster to not work properly.

For every field under sync.toHost.configMaps, see the sync reference.