Config Maps
By default, this is enabled.
Sync ConfigMap resources that are used by pods from the virtual cluster to the host cluster. Apps frequently need configuration data to function.
Sync only used ConfigMaps from the virtual to host cluster​
Sync any ConfigMap that is used by a Pod synced from the virtual to host cluster.
sync:
toHost:
configMaps:
enabled: true
Sync all ConfigMaps from the virtual to host cluster​
If you have a resource in the host 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
Config reference​
Disabling the syncing of this resource could cause the vCluster to not work properly.
configMaps
required object pro​
ConfigMaps defines if config maps created within the virtual cluster should get synced to the host cluster.
configMaps
required object pro​enabled
required boolean true pro​
Enabled defines if this option should be enabled.
enabled
required boolean true pro​all
required boolean false pro​
All defines if all resources of that type should get synced or only the necessary ones that are needed.
all
required boolean false pro​translate
required object[] pro​
Translate the patch according to the given patches.
translate
required object[] pro​path
required string pro​
Path is the path within the patch to target. If the path is not found within the patch, the patch is not applied.
path
required string pro​expression
required object pro​
Expression transforms the value according to the given JavaScript expression.
expression
required object pro​reference
required object pro​
Reference rewrites the value value according to the name.
reference
required object pro​apiVersion
required string pro​
APIVersion is the apiVersion of the referenced object.
apiVersion
required string pro​kind
required string pro​
Kind is the kind of the referenced object.
kind
required string pro​namePath
required string pro​
NamePath is the optional path to the reference name within the object. If omitted namePath equals to the
translate patch path.
namePath
required string pro​namespacePath
required string pro​
NamespacePath is the optional path to the reference namespace within the object. If omitted namespacePath equals to the
metadata.namespace path of the object.
namespacePath
required string pro​