exportKubeConfig
The exportKubeConfig key configures how vCluster exports the cluster's kubeconfig, including the context, server, and target Secrets. For how to configure it, see Export kubeconfig.
exportKubeConfig object ​
ExportKubeConfig describes how vCluster should export the vCluster kubeConfig file.
exportKubeConfig object ​context string ​
Context is the name of the context within the generated kubeconfig to use.
context string ​server string ​
Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.
server string ​insecure boolean false ​
If tls should get skipped for the server
insecure boolean false ​serviceAccount object ​
ServiceAccount can be used to generate a service account token instead of the default certificates.
serviceAccount object ​name string ​
Name of the service account to be used to generate a service account token instead of the default certificates.
name string ​namespace string ​
Namespace of the service account to be used to generate a service account token instead of the default certificates.
If omitted, will use the kube-system namespace.
namespace string ​clusterRole string ​
ClusterRole to assign to the service account.
clusterRole string ​secret object ​
Declare in which host cluster secret vCluster should store the generated virtual cluster kubeconfig.
If this is not defined, vCluster will create it with vc-NAME. If you specify another name,
vCluster creates the config in this other secret.
Deprecated: Use AdditionalSecrets instead.
secret object ​vc-NAME. If you specify another name,
vCluster creates the config in this other secret.name string ​
Name is the name of the secret where the kubeconfig should get stored.
name string ​namespace string ​
Namespace where vCluster should store the kubeconfig secret. If this is not equal to the namespace
where you deployed vCluster, you need to make sure vCluster has access to this other namespace.
namespace string ​additionalSecrets object[] ​
AdditionalSecrets specifies the additional host cluster secrets in which vCluster will store the
generated virtual cluster kubeconfigs.
additionalSecrets object[] ​context string ​
Context is the name of the context within the generated kubeconfig to use.
context string ​server string ​
Override the default https://localhost:8443 and specify a custom hostname for the generated kubeconfig.
server string ​insecure boolean ​
If tls should get skipped for the server
insecure boolean ​serviceAccount object ​
ServiceAccount can be used to generate a service account token instead of the default certificates.
serviceAccount object ​name string ​
Name of the service account to be used to generate a service account token instead of the default certificates.
name string ​namespace string ​
Namespace of the service account to be used to generate a service account token instead of the default certificates.
If omitted, will use the kube-system namespace.
namespace string ​clusterRole string ​
ClusterRole to assign to the service account.
clusterRole string ​name string ​
Name is the name of the secret where the kubeconfig is stored.
name string ​namespace string ​
Namespace where vCluster stores the kubeconfig secret. If this is not equal to the namespace
where you deployed vCluster, you need to make sure vCluster has access to this other namespace.
namespace string ​