Skip to main content

Secrets

By default, this is enabled.

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

Sync only utilized secrets from virtual to host cluster (Default)

sync:
toHost:
secrets:
enabled: true

Sync all secrets from virtual to host cluster

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

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

Config reference

Do Not Disable

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

secrets required object pro

Secrets defines if secrets created within the virtual cluster should get synced to the host cluster.

enabled required boolean pro

Enabled defines if this option should be enabled.

all required boolean pro

All defines if all resources of that type should get synced or only the necessary ones that are needed.