loft-sh / cluster-api-provider-vcluster

Mozilla Public License 2.0
76 stars 23 forks source link

vcluster dont support private registry with authentication #86

Open sbasti93 opened 2 months ago

sbasti93 commented 2 months ago

I came across the following problem through a POC. When I tried to change the referencing from the official Helm Chart to a private registry (with authentication), I realised that this does not work at all.

According to the CRD, the only parameters to be set are the following:

apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
kind: VCluster
metadata:
  name: [CLUSTER_NAME]
spec:
  helmRelease:
    chart: 
      name: [CHART_NAME]
      repo: [CHART_REPO]
      version: [CHART_VERSION]

This means that it is not possible to pass a secret, which is required for authentication at the private registry. There may be another way to do this, which I have not found out.

poblin-orange commented 1 week ago

Same issue, adding corporate ca for helm repo, and requirement to set https_proxy/no_proxy