loft-sh / vcluster

vCluster - Create fully functional virtual Kubernetes clusters - Each vcluster runs inside a namespace of the underlying k8s cluster. It's cheaper than creating separate full-blown clusters and it offers better multi-tenancy and isolation than regular namespaces.
https://www.vcluster.com
Apache License 2.0
6.46k stars 411 forks source link

Create additional kubeconfig secret in the helm chart(s) for access from host cluster #1419

Open frank-bee opened 10 months ago

frank-bee commented 10 months ago

Is your feature request related to a problem?

Currently if a v-cluster is installed via helm, there is only one kubeconfig secret created: the one for access via localhost and port-forwarding. (Optionally a secret can be created for the exposed access via Ingress / Loadbalancer service.) A secret which is not created, is the one for access from host: https://www.vcluster.com/docs/using-vclusters/access#from-host-cluster

Which solution do you suggest?

Create the secret similar to the one for "localhost access". No extra helm value is required.

Which alternative solutions exist?

No response

Additional context

We need this feature to allow creating vclusters with "full gitops approach" (e.g. with flux). This should work without usage of the vcluster command line tool.

frank-bee commented 10 months ago

See also https://loft-sh.slack.com/archives/C01N273CF4P/p1702721637157309

frank-bee commented 10 months ago
FabianKramm commented 10 months ago

@frank-bee thanks for creating this issue! Yes thats clear!