Skip to main content
Version: v0.38 Stable

Secrets

Supported Configurations
Running the control plane as a container with:

By default, this is enabled.

Sync Secret resources used by pods from the cluster to the control plane cluster. Apps frequently need secret data to function.

Sync only utilized secrets from tenant to control plane cluster (Default)​

sync:
toHost:
secrets:
enabled: true

Sync all secrets from tenant to control plane cluster​

vCluster only knows about a couple of cluster resources that actually use secrets and tries to sync only those into the control plane cluster. You can enable syncing all cluster secrets to avoid the problem that needed secrets are not synced to the control plane cluster.

sync:
toHost:
secrets:
enabled: true
all: true

Patches​

Use sync.toHost.secrets.patches to transform Secret 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.secrets, see the sync reference.