Skip to content

giantswarm/cloud-provider-vsphere-app

Repository files navigation

CircleCI

cloud-provider-vsphere-app

This app contains CPI and CSI for CAPV clusters.

Cloud Provider vSphere app Kubernetes version
1.10.x 1.30.x
1.9.x 1.29.x
1.8.x 1.28.x
1.7.x 1.27.x

Information on our charts

vSphere Cloud Provider

Source: https://github.com/kubernetes/cloud-provider-vsphere/tree/master/charts/vsphere-cpi

Nothing really exotic about this, we just grab the upstream chart.

Note

The vSphere Cloud Provider versions are aligned with Kubernetes versions for support (e.g. CPI v1.27.0 for Kubernetes v1.27) so make sure the CSI is also aligned when merging.

vSphere CSI driver

Source: https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/manifests/vanilla/vsphere-csi-driver.yaml

Note

There is no upstream Helm chart for the CSI, we generate it from the manifests and we apply customizations. There are a few overwrites and patches in the /config/vsphere-csi-driver folder. Find the latest CSI version that is compatible with the Kubernetes version of the cluster it will run in. You will find this in the Release Notes. For instance, vSphere CSI v3.2.0 is compatible with Kubernetes 1.27 to 1.29. (You can check the tag exists in the upstream repo). Make sure the CPI is also aligned when merging.

kube-vip

Source: https://github.com/kube-vip/helm-charts/commit/8c5b2d353082372ac8698885c1dab01efeebec98

Note

New versions of the kube-vip Helm chart are released with kube-vip-x.y.z in the kube-vip/helm-charts repo (same repo as kube-vip-cloud-provider).

Note that the upstream kube-vip Helm chart isn't well maintained so we use the latest chart but also the latest kube-vip tags. In Chart.yaml, version corresponds to the chart's release and appVersion is used as kube-vip image tag.

kube-vip-cloud-provider

Source: https://github.com/kube-vip/helm-charts/tree/kube-vip-cloud-provider-0.2.2/charts/kube-vip-cloud-provider

Note

New versions of the kube-vip-cloud-provider Helm chart are released with kube-vip-cloud-provider-x.y.z in the kube-vip/helm-charts repo (same repo as kube-vip).

Note that the upstream kube-vip-cloud-provider Helm chart isn't well maintained so we use the latest chart but also the latest kube-vip-cloud-provider tags. In Chart.yaml, version corresponds to the chart's release and appVersion is used as kube-vip-cloud-provider image tag.

Information on Renovate in this repo

Renovate updates version and appVersion fields in Chart.yaml files located in ./config/xxx/overrides. This is the file that is then used to template the actual sub-charts.

Caution

Only release this app if you are sure that both vSphere Cloud Provider and vSphere CSI driver support the same Kubernetes version.

Process of updating the charts

  • Renovate opens a PR (let's say on branch renovate/kube-vip-helm-charts-0.x).
  • Pull the branch on your local: git pull && git checkout renovate/kube-vip-helm-charts-0.x
  • Run the scripts to update the charts: make all
  • If everythig is ok, push the changes back to the branch and test the PR.
  • Check the diffs.